| View previous topic :: View next topic |
| Author |
Message |
Tdk161 Valued Contributor


Joined: 08 Feb 2005 Posts: 399 Location: ITALY
|
Posted: Sat Sep 11, 2010 12:22 pm Post subject: Dialog element question |
|
|
Hi forum,
anyone can tell me if exists a maximun number of elements in a dialog?
Thanks like always in advance for any info
Byez |
|
| Back to top |
|
 |
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Sep 11, 2010 7:04 pm Post subject: |
|
|
There is, but at the moment the number escapes me.. 99 elements? Or is it memory based? Sorry, I just can't remember  _________________ 'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.) |
|
| Back to top |
|
 |
mmatica Newbie
Joined: 03 Dec 2004 Posts: 12
|
Posted: Sun Sep 12, 2010 4:28 pm Post subject: |
|
|
Try this (and increase %m and %n ... while you can:
| Code: |
Title bb
DIALOG CREATE,New Dialog,-1,0,800,900
%m =30
%n =25
%i =%m
repeat
%j =%n
repeat
DIALOG ADD,BUTTON,B%ix%j,@prod(%i,30),@prod(%j,30),25,25,%i.%j
%j =@pred(%j)
until @greater(0,%j)
%i =@pred(%i)
until @greater(0,%i)
DIALOG SHOW
info @prod(@succ(%m),@succ(%n)) controls
:Evloop
wait event
%e = @event()
if @equal(%e,close)
stop
end
info event=%e
goto evloop
exit
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|