Search found 23 matches

by Daross
Wed Jun 18, 2014 8:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create a native mobile checkbox in a column of datagrid
Replies: 2
Views: 2527

Create a native mobile checkbox in a column of datagrid

Hi all,
It's possible to create a checkbox in a column of datagrid as in this picture ?
It would be nice to have native controls of Mobgui in datagrid
by Daross
Thu Mar 20, 2014 7:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with operator "is an integer"
Replies: 2
Views: 2371

Re: Problem with operator "is an integer"

Hey Klaus thanks for the trick!
Works well! :D
by Daross
Thu Mar 20, 2014 6:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Problem with operator "is an integer"
Replies: 2
Views: 2371

Problem with operator "is an integer"

Hi all, I created this function which return if the number is true or false function theInteger pNumber return pNumber is an integer end theInteger What I do not understand why it is not a false return false put theInteger(8.4/1.2) --> return false! I created a stack to explain better the problem (t...
by Daross
Fri Dec 27, 2013 5:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Return Value based on Choices from 2 Menupicks
Replies: 11
Views: 7327

Re: Return Value based on Choices from 2 Menupicks

Hi haer, if I understand correctly, you have to create 2 drop down buttons and from which to create a block of text and then search a value in a list of data: 1. drag a drop-down button and call it "pipeType"   Populate menu items with "Pipe 1 inch" and "Pipe 2 inch" 2. drag a drop-down button and c...
by Daross
Fri May 25, 2012 5:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How add number to item of Field from another
Replies: 2
Views: 2729

Re: How add number to item of Field from another

Sturgis, your script work perfectly.
Many thanks.
Davide
by Daross
Fri May 25, 2012 2:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How add number to item of Field from another
Replies: 2
Views: 2729

How add number to item of Field from another

Prova add Listino.livecode.zip Hi all, I have a stack with a table field "List" where I have a material list with quantities and a table field "Price List" where I have to add the amount in Item 6 from Item 2 of field "List" I created this script but it does not work: on mouseUp put field "List" in...
by Daross
Tue May 11, 2010 4:12 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MegaLoop for my script?
Replies: 3
Views: 3847

Re: MegaLoop for my script?

Mark, I need help on how to write the algorithm with Rev. Until now I have written small applications, and create this script is hard for me. The script should create groups of combinations (in relation to the total length of the coils in the field “coils") summing the item 2 of the field "Circuit" ...
by Daross
Sat May 08, 2010 11:10 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: MegaLoop for my script?
Replies: 3
Views: 3847

MegaLoop for my script?

I build a stack to create a report with the optimization of circuits with respect to the length and number of circuits (or parts). In practice, the script must create the best combination of the circuit to select the coil with less waste. I started with tablefield "Circuit" (where I put the ID and l...
by Daross
Mon Aug 17, 2009 3:55 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Function VLOOKUP in Excel: which is the equivalent in REV?
Replies: 16
Views: 11657

SparkOut,

now everything is clear, thanks
by Daross
Sun Aug 16, 2009 1:56 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Function VLOOKUP in Excel: which is the equivalent in REV?
Replies: 16
Views: 11657

Klaus, thank you, now I use the structure if then else most cleanly

Bernd, wow! your script works perfectly!

Danke!

A question; what is aLine?
by Daross
Fri Aug 14, 2009 3:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Function VLOOKUP in Excel: which is the equivalent in REV?
Replies: 16
Views: 11657

no answer? Sorry, I explained bad In my stack I make: one button two fields "Storey" "ValueStorey" one datagrid "DataValueStorey" (is a mini-database) composed so: Storey Value 15 0.43 16 0.43 17 0.42 18 0.42 19 0.41 20 0.41 21 0.4 22 0.4 23 0.39 24 0.39 25 0.38 30 0.36 35 0.35 40    0.34 etc. The...
by Daross
Thu Aug 13, 2009 1:35 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Function VLOOKUP in Excel: which is the equivalent in REV?
Replies: 16
Views: 11657

Hi Klaus, I should edit the script of Jan: You can do this using the 'lineOffset' function, and the knowledge that columns are separated by tabs. Assuming that you're using a DataGrid object: on mouseUp put the dgText of group "StoreyValueGrid" into tText put lineOffset(field "Storey" & tab, tText) ...
by Daross
Thu Aug 13, 2009 1:05 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Function VLOOKUP in Excel: which is the equivalent in REV?
Replies: 16
Views: 11657

Hi, I'm finishing my stack, and I have a problem: if I put a number in the field, Storey, and that is not listed in the column of datagrid Storey StoreyValueGrid, the search produces no results (for example if I enter the number 26). The solution would be to add the rows with numbers and values, but...
by Daross
Sat Jun 27, 2009 10:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do populate object into Tab Panel
Replies: 8
Views: 7123

Hi Klaus,

I have seen and tried your script on the topic "Controls" to link:

http://support.runrev.com/scriptingconferences/

The link scripting conferences are a gold mine for us beginners and the 'learning is faster.