forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Dialog element question

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Tdk161
Valued Contributor
Valued Contributor


Joined: 08 Feb 2005
Posts: 399
Location: ITALY

PostPosted: Sat Sep 11, 2010 12:22 pm    Post subject: Dialog element question Reply with quote

Hi forum, Smile

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
View user's profile Send private message Send e-mail
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Sat Sep 11, 2010 7:04 pm    Post subject: Reply with quote

There is, but at the moment the number escapes me.. 99 elements? Or is it memory based? Sorry, I just can't remember Sad
_________________
'What you do not want done to yourself, do not do to others.' - Confucius (550 b.c. to 479 b.c.)
Back to top
View user's profile Send private message
mmatica
Newbie


Joined: 03 Dec 2004
Posts: 12

PostPosted: Sun Sep 12, 2010 4:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
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

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group