delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/01/04/09:54:58

Message-ID: <F77915E7F086D31197F4009027CC81C917B56F@probe-2.as-london.acclaim.com>
From: Shawn Hargreaves <SHargreaves AT acclaimstudios DOT co DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: (Allegro) Listbox Question 2
Date: Tue, 4 Jan 2000 14:47:47 -0000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

bcc14 AT ufu DOT br writes:
> Someone (I don't remember who) told-me to change the d1, but it 
> did't work...

The d1 field is the way to do this, so if that doesn't work, you 
must be doing something wrong. Maybe you could post some (small)
example code to show your problem?

> I put a variable in place of d1 (say position_selector), and i 
> changed the value of it

If you mean that you assigned dialog[objectnumber].d1 = position_selector,
that makes a copy of the value, so later changing the value of
position_selector won't have any effect on dialog[objectnumber].d1.
You should alter the dialog field directly instead.


	Shawn Hargreaves.

- Raw text -


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