Search found 138 matches

by sashapont
Sun Jan 05, 2020 12:21 am
Forum: General programming
Topic: OnKeyUp for iOS
Replies: 5
Views: 226

Re: OnKeyUp for iOS

Yes
by sashapont
Fri Jan 03, 2020 9:58 pm
Forum: General programming
Topic: OnKeyUp for iOS
Replies: 5
Views: 226

Re: OnKeyUp for iOS

I know. about ShowKeyboard() without this don't work Letter луныю But what can you say about left and write swipes?
by sashapont
Fri Jan 03, 2020 7:12 pm
Forum: General programming
Topic: OnKeyUp for iOS
Replies: 5
Views: 226

OnKeyUp for iOS

I use this function and it works well on Desktop platform& How I can use it on iOs? There are no left key on iOS keyboard, and left may possible by long tap an space and swap to left. Are any way to check this event? Function p_HandlerFunc(msg) Switch(msg.action) Case "OnKeyUp": If msg.key = "LEFT" ...
by sashapont
Sat Dec 14, 2019 7:41 pm
Forum: General programming
Topic: name to id
Replies: 7
Views: 294

Re: name to id

I try it and then write
SystemRequest("Attention",ToString(buttonid), "OK",#REQICON_WARNING)

And it doesn't show correct id. What I am doing wrong?
by sashapont
Fri Dec 13, 2019 8:40 pm
Forum: General programming
Topic: name to id
Replies: 7
Views: 294

Re: name to id

MakeButton(Nil, #LAYERBUTTON, "button"..t.."box", True, False,{OnMouseDown = p_MyFunc, name="mybutton"})

How I can get id of this button?
by sashapont
Fri Dec 13, 2019 5:44 pm
Forum: General programming
Topic: name to id
Replies: 7
Views: 294

Re: name to id

not work for buttons :(
by sashapont
Thu Dec 12, 2019 9:21 pm
Forum: General programming
Topic: name to id
Replies: 7
Views: 294

name to id

I hate many dynamically generated object with automatic id and names like name="myname"..{I}
Are there any way to get id, for example, for object with name myname100?
by sashapont
Mon Oct 28, 2019 8:22 pm
Forum: General programming
Topic: GetObjectType usage
Replies: 1
Views: 647

GetObjectType usage

Please explain me how I can use this function

TextOut(10, 10,"a" ,{name= text1,Color=#Black})

how I can get type of this object?

type = GetObjectType("text1")

is not work...
by sashapont
Wed Oct 02, 2019 9:32 pm
Forum: General programming
Topic: Create tables
Replies: 8
Views: 502

Re: Create tables

You still need to put those 100 tables in an outer one. You can use a string concatination to generate a key value. Local and Global variables cannot use dynamic names. Global tbl={} For t=0 to c tbl["MenuItem"..StrStr(t).."$"]={} Next I don't understand clearly.... I use this code and than SystemR...
by sashapont
Wed Oct 02, 2019 9:12 pm
Forum: General programming
Topic: Create tables
Replies: 8
Views: 502

Re: Create tables

Let's try again. You are trying to generate names dynamically? If so it needs to be inside an outer table. MenuItem={} For t=0 to c MenuItem[t]={} Next No I want many tables for example I want: MenuItiem1$={1,2,3..} MenuItiem2$={1,2,3...} MenuItiem3$={1,2,3...} ... MenuItiem100$={1,2,3...}