Search found 3851 matches

by bn
Mon Jan 11, 2010 12:58 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Dismiss a modal stack?
Replies: 2
Views: 1953

Re: Dismiss a modal stack?

Hi Peregrine, You can either quit Rev and the restart Rev. In the Development Menu you select Suppress Messages and then you open your mainstack, it should not start the modal substack. You can also put into the message box: toplevel stack "myModalStack", this should revert the modal state and you c...
by bn
Sun Jan 10, 2010 1:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 6347

Re: myFirstScript

Exheusden, I meant to say up to 5000 something records you can use cards/fields as datastorage. Above or if too slow you could use custom properties and arrays. Beyond 50000 something a dedicated database as sqlite etc might be appropriate. At least that is what I gathered from the discussions. rega...
by bn
Sun Jan 10, 2010 12:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 6347

Re: myFirstScript

@ Exheusden: saving is a very good idea and it became second nature to me while doing stack work in Rev. Although I have the impression that Rev is more stable now than it used to be. What the experienced Rev user are saying is that once you got your code clean and especially you build a standalone ...
by bn
Sat Jan 09, 2010 10:47 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: sizing columns in a table field
Replies: 18
Views: 10956

Re: sizing columns in a table field

Renaud, I experimented a little more with the table field and setting the column width. I found a way to do it dircectly by clicking into the columns and holding down the option key. edit: I have uploaded a new version to RevOnline. Look for "OldTableFieldDragDividers", or search for Bernd end edit ...
by bn
Sat Jan 09, 2010 1:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 6347

Re: myFirstScript

Ybes,
could you please explain what exactly you want to do/know?

Basically you can just use the Hypercard commands/events in Rev.
mouseUp, mouseDown etc.

if you go to the dictionary and enter mouse into the search field, you get a list with all the mouse related messages.

regards
Bernd
by bn
Sat Jan 09, 2010 1:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Shared functions?
Replies: 7
Views: 4846

Re: Shared functions?

Exheusden, MyNiftyTools.rev was supposed to be a placeholder name for any stack you want. Just create a stack, name it what you want, fill its stack script with the functions and commands you want as a library, then "start using ExheusdenNiftyTools.rev" stack. You might want to look up the message h...
by bn
Sat Jan 09, 2010 12:32 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Applescript; Report Generation; pre-sale questions
Replies: 3
Views: 2699

Re: Applescript; Report Generation; pre-sale questions

Redpill, Bangkok answered the most of your questions. Here some more remarks. I have been reading the Revolution documentation, and I noticed the revTalk language looks like AppleScript. Therefore, would having knowledge of the AppleScript language be of substantial benefit when programming with rev...
by bn
Sat Jan 09, 2010 11:58 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 6347

Re: myFirstScript

Ybes, glad you found a solution. And it is the advanced solution once you created a group and forgot something. Sorry I was not clear enough. If you lay out your objects on the first card and you are done with the layout then in edit mode you activate (select) all the objects you want to be part of ...
by bn
Sat Jan 09, 2010 1:23 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: sizing columns in a table field
Replies: 18
Views: 10956

Re: sizing columns in a table field

Renaud, I am sorry, the option/alt key was a way to say: On a Mac option Key On Windows Alt Key Just one key not two, then moving the slider alters all the columns to the same size. No Number needed for this. If you just press a number on the mainkeyboard and then click the slider (without any addit...
by bn
Fri Jan 08, 2010 11:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: myFirstScript
Replies: 12
Views: 6347

Re: myFirstScript

Hi Ybes, welcome to the forum. The background is a little different from Hypercard. In Rev on the first and only card you set up the elements that you want to have in a background, fields, buttons etc. Then you group all these elements into one group and in the properties inspector for this group yo...
by bn
Fri Jan 08, 2010 8:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help to Calculate number of days in a month?
Replies: 9
Views: 6761

Re: Help to Calculate number of days in a month?

On the list recently http://n4.nabble.com/EASY-way-to-add-n-days-to-a-date-td975567.html#a975894 Zryip TheSlug posted this neat handler to determine how many days a month has. two handlers: one for english date and one for system date, i.e. the localized date format the system uses A conversion func...
by bn
Fri Jan 08, 2010 1:03 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Moving Numbers..?
Replies: 8
Views: 4438

Re: Moving Numbers..?

topcat, the easiest would be : put empty into field "fldOut" if field "fld4" = "L" and field "fld1" = "L" then put "L" into field "fldOut" if field "fld4" = "M" and field "fld1" = "M" then put "M" into field "fldOut" if field "fld4" = "H" and field "fld1" = "H" then put "H" into field "fldOut" that ...
by bn
Fri Jan 08, 2010 9:41 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Moving Numbers..?
Replies: 8
Views: 4438

Re: Moving Numbers..?

topcat, try if the target contains "button" then put the label of the target into tLabel if tLabel > 0 and tLabel < 13 then put "low" into field 1 if tLabel > 12 and tLabel < 25 then put "medium" into field 1 if tLabel > 24 and tLabel < 37 then put "high" into field 1 end if regards Bernd
by bn
Thu Jan 07, 2010 11:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Moving Numbers..?
Replies: 8
Views: 4438

Re: Moving Numbers..?

Topcat, Craigs wonderfull idea to put all the code into the card script makes it a lot easier to maintain 40 buttons. I dont know what the numbers look like that you want the buttons to put into the fields. If the same button always puts the same number then you could take any button without script ...
by bn
Thu Jan 07, 2010 10:00 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Moving Numbers..?
Replies: 8
Views: 4438

Re: Moving Numbers..?

TopCat, try this: on mouseUp put the cMouseClicks of this card into tClicks add 1 to tClicks set the cMouseClicks of this card to tClicks put tClicks mod 4 into tWhatField if tWhatField = 0 then put 4 into tWhatField end if -- first round if (field 4 is "" )then -- here would be your real number for...

Go to advanced search