Search found 222 matches
- Sun Dec 09, 2018 11:52 am
- Forum: LiveCode Builder
- Topic: Updating a widget in use
- Replies: 2
- Views: 3843
Updating a widget in use
So I have a widget I created that I am currently using in several stacks. How do I test and install changes to a widget without messing up my stacks? Let me give an example... I have a widget where I needed to add "pass onMouseMove" in the script in order to make it move (obviously). So my procedure...
- Fri Aug 24, 2018 5:21 pm
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 15252
Re: com.livecode.widget.ColorPicker
Is it working in LC9 yet?
- Wed Aug 22, 2018 8:50 pm
- Forum: LiveCode Builder
- Topic: Timer not working
- Replies: 3
- Views: 5040
Re: Timer not working
ok, it was another error in the dictionary... should be "schedule timer in 1 seconds" not "schedule timer in 1 second"
- Wed Aug 22, 2018 8:40 pm
- Forum: LiveCode Builder
- Topic: Timer not working
- Replies: 3
- Views: 5040
Timer not working
I'm trying to create a "button" that can be held down to increment a number my plan was to use mouseDown to initiate a timer, but I keep getting a compile error so really I have 2 questions: 1. how do I need to work my "schedule timer" command 2. is there a better way to try and hold down a button? ...
- Wed Aug 22, 2018 6:50 pm
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 15252
Re: com.livecode.widget.ColorPicker
I was mostly just trying to make the example work, though a color picker would be a great widget
so for a popup widget... do i need to program the widget separately to return the value to the parent? I'm ssuming I can't just use any widget since there needs to be some way to get a specific value...
so for a popup widget... do i need to program the widget separately to return the value to the parent? I'm ssuming I can't just use any widget since there needs to be some way to get a specific value...
- Wed Aug 22, 2018 6:24 pm
- Forum: LiveCode Builder
- Topic: Default Script
- Replies: 14
- Views: 17465
Re: Default Script
the confusion for me really started because I was remembering the default script that used to get populated for certain widgets, and all of the built-in widgets still have the defaultscript.livecodescript file with them. Didn't realize at that time that they were no longer being populated on purpose...
- Wed Aug 22, 2018 1:36 am
- Forum: LiveCode Builder
- Topic: Built-in properties
- Replies: 13
- Views: 11340
Re: Built-in properties
From the widgets course: You can also link to other standard Livecode properties beyond the basic, built in set. (misc example info) To access it we have to specify that the widget has the property, but we do not have to define the property itself . If the way to use them is to define them, then A. ...
- Tue Aug 21, 2018 11:52 pm
- Forum: LiveCode Builder
- Topic: Built-in properties
- Replies: 13
- Views: 11340
Re: Built-in properties
this brings me back to my original question... how?
how do I use the textAlign property in my code?
how do I use the selected property in my code?
how do I use the penColor property in my code?
how do I access them in my code?
how do I use the textAlign property in my code?
how do I use the selected property in my code?
how do I use the penColor property in my code?
how do I access them in my code?
- Tue Aug 21, 2018 2:45 pm
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 15252
Re: com.livecode.widget.ColorPicker
I still can't find any other reference to "ColorPicker"
- Tue Aug 21, 2018 2:42 pm
- Forum: LiveCode Builder
- Topic: Built-in properties
- Replies: 13
- Views: 11340
Re: Built-in properties
I seem to be going in circles, here's the point I'm making. We have a list of built-in properties that we can activate in a widget. I'm using textAlign as an example. As I see it, there are 4 possiblities: 1. Setting a built-in property in a widget just works, and can be utilized with statements lik...
- Tue Aug 21, 2018 12:14 pm
- Forum: LiveCode Builder
- Topic: Built-in properties
- Replies: 13
- Views: 11340
Re: Built-in properties
Let me try this from another direction. I've been playing with textAlign and textStyle. If I enable the textStyle property and set the bold and/or italic, it appears that "my font" becomes bold or italicized. None of the other textStyle properties seem to do anything. If I enable textAlign, it does ...
- Mon Aug 20, 2018 9:49 pm
- Forum: LiveCode Builder
- Topic: Built-in properties
- Replies: 13
- Views: 11340
Re: Built-in properties
what I am interested in is how to apply these properties within LCB, how do I call them in a handler I mean some of them I might not have a need for within tht ewidget's code, but what does setting a pattern do? does setting the backPattern just do something, or do i have to tell the widget to do so...
- Mon Aug 20, 2018 8:41 pm
- Forum: LiveCode Builder
- Topic: Built-in properties
- Replies: 13
- Views: 11340
Built-in properties
So I'm looking over the list of built-in properties that can be accessed, but I cannot find any documentation as to how to use them. Is there a way to call textFont and/or textSize other than through "my font"? Say I just wanted to get the size, how would I get it? Also I'm looking at these properti...
- Mon Aug 20, 2018 1:00 am
- Forum: LiveCode Builder
- Topic: com.livecode.widget.ColorPicker
- Replies: 17
- Views: 15252
com.livecode.widget.ColorPicker
Is there such a widget as "com.livecode.widget.ColorPicker"? I was trying to follow the "PopupWidget" example: private variable mColor as Color public handler OnClick() variable tProperties as Array put the empty array into tProperties put mColor into tProperties["currentColor"] popup widget "com.li...
- Sat Aug 18, 2018 6:35 pm
- Forum: LiveCode Builder
- Topic: Livecode keeps deleting my widget files!!!!!
- Replies: 5
- Views: 5317
Re: Livecode keeps deleting my widget files!!!!!
using your library, it didn't happen... actually, I don't think it is happening with libraries, only widgets