delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/06:18:12

Message-ID: <3871D6C3.C5F640FB@ufu.br>
Date: Tue, 04 Jan 2000 08:17:27 -0300
From: bcc14 AT ufu DOT br (Bacharelado Curso Ciencia Computacao-14)
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: (Allegro) Listbox Question 2
References: <199912200600 DOT BAA12127 AT delorie DOT com> <385F9E8D DOT CC82EFB AT ujf-grenoble DOT fr> <387106D4 DOT 3A2492F1 AT ufu DOT br>
Reply-To: djgpp AT delorie DOT com

>  Hi all...
>
>  I have a problem...
>
>  I want to initialize the listbox to be selected to an especific
> position...
>
>  Let's say, i do do do_dialog(___,_) in which the dialog wave a list_box
> component.
>
>  when i show the dialog, i want the list box to be selected to an
> especific position (let's say, position 2). How can I do that?

Someone (I don't remember who) told-me to change the d1, but it did't
work...
I put a variable in place of d1 (say position_selector), and i changed the
value of it and drew the dialog, but the bar in the listbox was in the first
position, as ever...
How can I start a listbox with the selection bar in the position I
want...?????






- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019