Search found 3851 matches

by bn
Sat Oct 03, 2009 12:21 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Another very newbie question.
Replies: 3
Views: 2248

Hi Kevin, if you open the dictionary you can select on the left side under objects different controls like field or button etc. then you see all available messages and properties for that control, by clicking on Typ in the result headline you sort them by message, property etc. If that is what you m...
by bn
Fri Oct 02, 2009 12:13 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Slider Colour
Replies: 3
Views: 2193

Hi Bidge, I dont know of a way to color slider bars, but if you use Rev 4.0 then you could fake it with an innerShadow. this works on a mac, you would have to adjust for Windows. on mouseUp set the innerShadow["angle"] of field 1 to 180 set the innerShadow["blendmode"] of field 1 to "multiply" set t...
by bn
Fri Oct 02, 2009 9:48 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "Is not" or "does not start with"?
Replies: 12
Views: 6412

Hi Sturgis,

good to see you back.

I hope it is going to be a long moment...

regards

Bernd
by bn
Thu Oct 01, 2009 8:45 pm
Forum: Talking LiveCode
Topic: how to poll priodically
Replies: 2
Views: 1838

Hi grodrig, you could you a send in time construct. I ususally do it by moving the polling part of your button into a separate command on mouseUp send polltheDevice to me in 1 millisecond end mouseUp on polltheDevice -- do your polling here -- if everything is fine then send polltheDevice to me in 1...
by bn
Wed Sep 30, 2009 3:40 pm
Forum: Talking LiveCode
Topic: Make a stack usable while repeating
Replies: 2
Views: 1971

Paul,

put

Code: Select all

wait 0 milliseconds
inside the repeat loop
that should do it,
you could also do

Code: Select all

wait 0 milliseconds with messages
regards
Bernd
by bn
Wed Sep 30, 2009 12:18 pm
Forum: Talking LiveCode
Topic: New plugin stack available in rev online for graphic effects
Replies: 9
Views: 5109

Gerard,
thanks for the new version.

on little thing: in the handler command SelectAllImgs it should read
set the selected of img rImg of tStack to true
instead of
set the selected of btn rImg of tStack to true

regards
Bernd
by bn
Wed Sep 30, 2009 12:23 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Variable Watcher
Replies: 2
Views: 2666

Ralph, I dont know of any way to watch the variable watcher outside of debug mode. You could put into your script some code that saves the varibles to a field to see what is going on. TRev, an alternative script editor for Rev ($50, very good http://reveditor.com/ ), gives you the ability to take sn...
by bn
Mon Sep 28, 2009 11:09 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Display answer in field rather than popup?
Replies: 2
Views: 1808

Hi ukaussie, Welcome to the forum. instead of global tfSessionDuration, tfMeanHR, tfRestingHR, tfMaximalHR on mouseUp answer "The TRIMP for your training session is " & round(tfSessionDuration * ((tfMeanHR - tfRestingHR)/(tfMaximalHR - tfRestingHR)) * ((2.71200^(((tfMeanHR - tfRestingHR)/(tfMaximalH...
by bn
Mon Sep 28, 2009 6:56 pm
Forum: Talking LiveCode
Topic: Determine decimal seperator on system
Replies: 4
Views: 3498

Garrett, since nobody is coming up with a better solution for the mac you could do it with a little applescript: put "set userDecimalSeparator to item 2 of (1.1 as string)" & return & "return userDecimalSeparator" into WhatIsTheSeparator do WhatIsTheSeparator as applescript put the result into tDeci...
by bn
Sun Sep 27, 2009 1:50 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: A little help with text links?
Replies: 4
Views: 2234

Eric, again you have your field 1 with the text that will have the links. Uncheck the listBehavior, leave the lockText. You still have the field "theX" for demo purposes. Now you can have any text you want in the text field. Suppose you want the "Card A" and "Card B" in the text to be a link. Set th...
by bn
Sat Sep 26, 2009 9:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: A little help with text links?
Replies: 4
Views: 2234

Hi Resident Eric, welcome to the forum. suppose you have a field that contains 2 lines of text. The first line says: Should I go to card A, the second says should I go to card B. This field is locked, traversalOn is false and the listbehaviour is true. You set all these in the property inspector. Yo...
by bn
Sat Sep 26, 2009 3:04 pm
Forum: Talking LiveCode
Topic: New plugin stack available in rev online for graphic effects
Replies: 9
Views: 5109

Gerard, this is a very helpful plugin, it makes the new properties a lot more manageable then fumbling around with the Graphic Effects in the inspector since one sees right away what colors are available and the preset combinations make it a lot easier to have a decent color scheme. Some things don'...
by bn
Fri Sep 25, 2009 9:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Rename labelsbuttons
Replies: 1
Views: 2029

Jason, if I understand you correctly then you want to set the label of all the buttons of a card to the same label? You can do that by putting this script into the stack script on relabelButtons pNewButtonName if pNewButtonName is not empty then repeat with i = 1 to the number of buttons of this car...
by bn
Thu Sep 24, 2009 9:37 pm
Forum: Talking LiveCode
Topic: Just display content, not card
Replies: 11
Views: 7043

Sparkout, Wilhelm Sanke, who does a lot with images in Rev refers repeatedly to PNG's that have not been saved to a file and then reimported as pre-PNG. They behave differently then after saving and reimporting. He event gives a recipe for crashing Rev with these. from this thread: http://www.mail-a...
by bn
Thu Sep 24, 2009 8:43 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: "About" menu on mac
Replies: 4
Views: 2148

Hi Bidgeeman, in the menubuilder when you put something into the Help menu -> about (this is automatically created) then on a mac it will be automatically appear under the Apple menu, the same goes for Edit menu -> preferences. put something like on menuPick pWhich switch pWhich case "Help" answer "...

Go to advanced search