Search found 325 matches

by jalz
Mon Jun 08, 2015 11:33 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: scrollbar and scaling
Replies: 6
Views: 3477

Re: scrollbar and scaling

just wanted to say thank you to both of you. Got it working now on my page "fairly" reliably. Some more testing
by jalz
Sat Jun 06, 2015 5:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: scrollbar and scaling
Replies: 6
Views: 3477

Re: scrollbar and scaling

Hi SparkOut, I've managed to solve my problem by just hardcoding the position of the last object. Its just easier, especially as I figure the object shouldn't move on the card and I already know whats the last object. I do have another question relating to scrollbar and this title fits this problem ...
by jalz
Sat Jun 06, 2015 2:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: scrollbar and scaling
Replies: 6
Views: 3477

Re: scrollbar and scaling

Ah I think I can do this by finding the bottom of the object that is the furthest down on a page.
Does anyone know the relevant command I can use to find the furthest object on a card or am I going to have to loop through all the objects to find the one thats the furthest down?

Thanks
Jalz
by jalz
Sat Jun 06, 2015 1:31 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: scrollbar and scaling
Replies: 6
Views: 3477

scrollbar and scaling

Hi Guys, I have a scrollbar attached to a grouped object.Within the scroll bar, there is an graphic called rectangle. When I use the vertical scrollbar to to scroll down, the rectangle moves up which it should as the rectangle isn't as tall as some of the other components on the page. What I would l...
by jalz
Sat May 30, 2015 9:12 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datagrid updating a row
Replies: 3
Views: 2153

Re: datagrid updating a row

Thanks Guys,

@sritcp putting quotes around the command didn't work. However, that sample file you posted bangkok was excellent - it showed me how to deal with and manipulate data in the datagrid.

Jalz
by jalz
Fri May 29, 2015 11:44 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: datagrid updating a row
Replies: 3
Views: 2153

datagrid updating a row

Hi Guys, Need some advice. I've got a datagrid (table) called dg_charge_rate and I'd like to update a specific row. Previously the way handled it was by deleting the row and then adding a new row with the old ID. The drawback of this method was that the new item would be added to the end of the row....
by jalz
Wed May 06, 2015 10:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: format datagrid values with function
Replies: 5
Views: 2906

Re: format datagrid values with function

Thanks to both of you, yes it was the item delimiter that I forgot to set…. Now that its set, the first line of data is formatting correctly, but subsequent lines are not. So I'm trying to use an repeat each line loop, but its not returning my results. Am I putting the data back correctly in the lin...
by jalz
Tue May 05, 2015 10:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: format datagrid values with function
Replies: 5
Views: 2906

format datagrid values with function

Hi Guys, I have the following sql statement below which works OK. However I've written a function called returnCurrency which adds currency symbol, decimal, commas for every thousand, two digits to indicate pence etc to a whole number and I want to wrap this function around my fields item_price and ...
by jalz
Fri Apr 24, 2015 6:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: sql data not going in correct fields
Replies: 3
Views: 2426

Re: sql data not going in correct fields

Thanks MaxV.

Can't believe I missed the item del to tab out. Arghhhhh
by jalz
Thu Apr 23, 2015 11:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: highlight a tab through script
Replies: 4
Views: 2534

Re: highlight a tab through script

Cheers Klaus

I think thats a neater way for me to do it
by jalz
Thu Apr 23, 2015 11:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: sql data not going in correct fields
Replies: 3
Views: 2426

sql data not going in correct fields

Hi Guys, I've got the following sql statement which seems to be executing correcting. When I walk through the debugger, the tTheData has the following contents in it [7847400 110000] which is correct. The problem I am having is trying to put that returned data into the appropriate fields. I'm using ...
by jalz
Wed Apr 22, 2015 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: highlight a tab through script
Replies: 4
Views: 2534

highlight a tab through script

Hi I have tab panel with 3 tabs, red, green, blue. The tab panel I have works quite well, showing and hiding groups depending on what tab is clicked. However I wanted to know if it was possible to show the pressed state of a tab from an external button? I'm building a menu up, and although I know ho...
by jalz
Fri Mar 27, 2015 7:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: menu builder help please
Replies: 8
Views: 6216

Re: menu builder help please

Thank you Craig, Your instructions on new stack work bang on when I have a menu item (e.g. test). I'm trying to populate a submenu called "font", so I think all I need to get right is the button name of the submenu. How does the menu allocate names to containers that are 3 levels down. hope that mak...
by jalz
Thu Mar 26, 2015 11:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: menu builder help please
Replies: 8
Views: 6216

Re: menu builder help please

Hi Craig, Thanks for your explanation regarding menus, buttons, containers. Yes I read this in some of the other posts and articles. I've got scripts executing from my format menu, but I'm still confused on how to populate a specific menu item. The menu I am trying to populate is Format. The menu It...

Go to advanced search