Search found 222 matches
- Sat Aug 18, 2018 1:13 pm
- Forum: LiveCode Builder
- Topic: Livecode keeps deleting my widget files!!!!!
- Replies: 5
- Views: 5119
Re: Livecode keeps deleting my widget files!!!!!
yes I am... I have a Documents folder in My LiveCode in which I keep my stacks and the extensions I am building
- Fri Aug 17, 2018 5:12 pm
- Forum: LiveCode Builder
- Topic: Wrap Text in Rect
- Replies: 8
- Views: 7619
Re: Wrap Text in Rect
Okay, I swear this my last post for now because I am at work and I really should actually get to work... I've removed the font as param, as it is easy to set via the system or in OnPaint the pAlign param needs 2 words: [top,center,bottom] and [left,center,right] so it can be aligned vertically and h...
- Fri Aug 17, 2018 4:11 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 14
- Views: 14867
Re: Default Script
I think I like Hermann's approach better than using the default script as a separate file
Thanks both of you
Thanks both of you
- Fri Aug 17, 2018 4:07 pm
- Forum: LiveCode Builder
- Topic: Wrap Text in Rect
- Replies: 8
- Views: 7619
Re: Wrap Text in Rect
I figured out what I was doing wrong, and now this works... the problem I had in my non-working trials was that I was creating individual rectangles by adding tTextH to the top of pTextBox and then using the top and tTextH to set the bottom of pTextBox... however what I should have been doing was se...
- Fri Aug 17, 2018 3:23 pm
- Forum: LiveCode Builder
- Topic: Wrap Text in Rect
- Replies: 8
- Views: 7619
Re: Wrap Text in Rect
The problem with the centering is that it starts putting the text at what i would call "center center" instead of "top center" which is where I want it. What happens is that there is a large gap at the top of the box, and then all the text is at the bottom. What I tried to do was to calculate the in...
- Fri Aug 17, 2018 2:09 pm
- Forum: LiveCode Builder
- Topic: Livecode keeps deleting my widget files!!!!!
- Replies: 5
- Views: 5119
Livecode keeps deleting my widget files!!!!!
Here's the sequence... I open the lcb file in Extension Builder I click "Test"... everything works fine I click "Package"... lce file successfully built (confirmed by looking in the directory) I click "Stop Testing".... so far so good, everything is still there I click "Install"...the following happ...
- Fri Aug 17, 2018 1:51 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 14
- Views: 14867
Re: Default Script
I did correct the script, but I still cannot get the default script to work
In fact, I grabbed the tree view widget off github and tried put it into the extension builder, and the default script doesn't show up there either... or is it possible that it doesn't work in "testing" mode?
In fact, I grabbed the tree view widget off github and tried put it into the extension builder, and the default script doesn't show up there either... or is it possible that it doesn't work in "testing" mode?
- Fri Aug 17, 2018 1:09 pm
- Forum: LiveCode Builder
- Topic: Wrap Text in Rect
- Replies: 8
- Views: 7619
Re: Wrap Text in Rect
This was my solution for adding a return/newline in the handler. (I replaced the exiting carriage return with " qzqz " and then in the repeat sequence it ends the current line and begins the next line. Also, in this iteration I removed the paint, I think it is easier to set in the OnPaint handler. T...
- Wed Aug 15, 2018 9:32 pm
- Forum: LiveCode Builder
- Topic: Wrap Text in Rect
- Replies: 8
- Views: 7619
Wrap Text in Rect
Finally got this working, the following code takes 4 inputs: -the rectangle which will contain the text -the text (duh) -the font to use -the foreground color to use for the text Here's a few notes: -if the text is ultimately too long to fit in the box, it just gets cut off -if any word is too long ...
- Tue Aug 14, 2018 7:32 pm
- Forum: LiveCode Builder
- Topic: My Button Bar
- Replies: 6
- Views: 6304
Re: My Button Bar
For anyone interested in testing, here is the code for my button bar:
https://github.com/madpink/buttonbar-livecode-builder
Still have more planned..
https://github.com/madpink/buttonbar-livecode-builder
Still have more planned..
- Tue Aug 14, 2018 3:38 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 14
- Views: 14867
Re: Default Script
Thus far I do have 1 handler and it is showing up on the handler list.
Also, changing the folder name to "support" did not help
Here is my widget so far if looking at helps:
https://github.com/madpink/buttonbar-livecode-builder
Also, changing the folder name to "support" did not help
Here is my widget so far if looking at helps:
https://github.com/madpink/buttonbar-livecode-builder
- Mon Aug 13, 2018 11:46 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 14
- Views: 14867
Re: Default Script
by didn't get included, I meant that it didn't show up when I tested the widget and opened the script the script is named: script "community.livecode.madpink.buttonbar.__DefaultScript" and the widget is named: widget community.livecode.madpink.buttonbar do I need to include anything in the widget to...
- Mon Aug 13, 2018 8:33 pm
- Forum: LiveCode Builder
- Topic: AmongKeysOfArray issues
- Replies: 3
- Views: 3831
Re: AmongKeysOfArray issues
Should've also mentioned, works now.
- Mon Aug 13, 2018 8:31 pm
- Forum: LiveCode Builder
- Topic: AmongKeysOfArray issues
- Replies: 3
- Views: 3831
Re: AmongKeysOfArray issues
ah!!! that makes sense, thank you!!!!
- Mon Aug 13, 2018 8:10 pm
- Forum: LiveCode Builder
- Topic: AmongKeysOfArray issues
- Replies: 3
- Views: 3831
AmongKeysOfArray issues
I have a property that is an array. In my setter handler, I am trying to fill in keys that might not be available. Here is my code: private handler setData(in pData as Array) variable tCount as Number variable tKey as String put the number of elements in pData into mCount repeat with tCount from 1 u...