Search found 26 matches

by saviour
Sun May 07, 2017 3:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Comma Seperator
Replies: 2
Views: 2611

Comma Seperator

Hi there,

I searched the forum on the topic but could nt find the right one. How to enter number in a field which automatically inputs the number with comma in thousand separator format like 123,456,789 format??

Thanks :)
by saviour
Fri Nov 13, 2015 3:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option menu tagged to array
Replies: 5
Views: 3406

Re: Option menu tagged to array

Thanks a lot guys.

Your suggestions are like lightbulb to me. I am able to do it by putting the menu selection in another variable and finally feeding it to the array.

put gMyArray[tOption] into tName
Answer tName

Thanks again.
by saviour
Thu Nov 12, 2015 2:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option menu tagged to array
Replies: 5
Views: 3406

Re: Option menu tagged to array

Thanks for that.. :D

Yes, I want related data 'XXX' in another custom variable or field if key "XX' chosen in the menu. Please guide me :oops:
by saviour
Wed Nov 11, 2015 6:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option menu tagged to array
Replies: 5
Views: 3406

Option menu tagged to array

Hi guys,, Please need some help. I dont know if it is possible or not. But lets see. I have some data array in field "mylist" in following manner: xx,xxx yy,yyy zz,zzz I am able to populate option menu ( with xx or yy or zz); Now, Is it possible to having either option selected, retreive related dat...
by saviour
Fri Aug 28, 2015 6:41 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option Menu Selection
Replies: 4
Views: 3106

Re: Option Menu Selection

Thanks for your response. I did as you told. I think I am doing something wrong here and could not get it into working. Please check- Following are the code in the option menus : (Similar code in another option menu as well) on menuPick pItemName switch pItemName global choice1 case "A" put the labe...
by saviour
Fri Aug 28, 2015 5:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Option Menu Selection
Replies: 4
Views: 3106

Option Menu Selection

Hello, Need help please. Lets say, i have two option menus in a card, with three options (A, B, C) and (X,Y, Z) on each one. How can I run a conditional function or do something, by checking that each menu option has some selection. like Option A in first menu and Option Z in second menu carry a spe...
by saviour
Fri Apr 18, 2014 5:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Native Scroll Field length
Replies: 8
Views: 4776

Re: Native Scroll Field length

Hi Simon, Well now, I tested the stack in real device. For small text, there is no problem and it displays well in both cards any time. But for big text, the display result in card 2 (with native scroller) is different every time. Sometimes it displays and scroll well upto the full length of text. B...
by saviour
Fri Apr 18, 2014 3:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Native Scroll Field length
Replies: 8
Views: 4776

Re: Native Scroll Field length

Hi Simon,

Thanks for your time. I was missing above code in my scripts. I will test and let you know :)
by saviour
Thu Apr 17, 2014 3:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Native Scroll Field length
Replies: 8
Views: 4776

Re: Native Scroll Field length

I have two card in my apps; one to import text while other has scroller in it. To import text, first card needs to be assessed everytime. So I thought below code in the second card delete the scroller everytime when the card is closed. Isn't it so ?? on closeCard // Delete the scroller if environmen...
by saviour
Tue Apr 15, 2014 3:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Native Scroll Field length
Replies: 8
Views: 4776

Re: Native Scroll Field length

Hi Simon. Thank you. My problem is solved PARTIALLY. Now, problem of hidden text in upper part of field is solved, even if text size is increased. Now, what to be done for bottom part if text is longer? Only solution seems to me is to set height of field "text" to very high number. But it will not l...
by saviour
Tue Apr 15, 2014 4:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Native Scroll Field length
Replies: 8
Views: 4776

Native Scroll Field length

Hi guys, Learning Livecode and it is fun as all. I am facing issues with Native Scroller. I have some text file contents needs to be imported in field "text" which is scrollable in group "scrollArea". As long as the text content is small, there is no problem with scroller and it does fine. But when ...
by saviour
Sun Apr 06, 2014 3:34 am
Forum: Android Deployment
Topic: Create List menu
Replies: 1
Views: 2095

Create List menu

Hi there, How to create a list menu like that we have on Android, whereby touching a menu option will open another submenu inside? I referred to many posts in this forum regarding creating such menu system i.e. mobilepicker options, gridviews etc and now I am confused. It's may be somewhere in the f...
by saviour
Thu Mar 06, 2014 5:03 am
Forum: Android Deployment
Topic: Hardware Backkey
Replies: 9
Views: 5522

Re: Hardware Backkey

Thanks guys. I tried, even in many variations of scripts, but I think it is not doable. on browserStartedLoading pUrl set the gEnd of me to "home" By setting above variable, whenever a new webpage opens within old webpage, above variable is set to true. So backkey either functions as "retreat" when ...
by saviour
Wed Mar 05, 2014 8:17 pm
Forum: Android Deployment
Topic: Hardware Backkey
Replies: 9
Views: 5522

Re: Hardware Backkey

Well I tried many variations but could not succeed. Please help. on browserStartedLoading pUrl set the gEnd of me to "home" end browserStartedLoading on backKey if gEnd is not "home" then doAction "retreat" send firstPage to me in 250 millisec end if end backKey on firstPage if gEnd is not "home" th...
by saviour
Wed Mar 05, 2014 3:08 pm
Forum: Android Deployment
Topic: Hardware Backkey
Replies: 9
Views: 5522

Re: Hardware Backkey

Thanks Again.. Now tried it..it is not working, fully :D With above script, backkey will take me to card 2 direct from the browser. While changing the portion of the same. as below, I can roam within the browser but cannot exit to card 2.- on firstPage if gEnd= true then go cd 2 end if end firstPage...