1. check boxes

I'm playing with check boxes and there's some text that windows places after
the box with some char's surrounded by a dotted box. Where is that text
coming from and how do I control it? anyone know? I have 3 checkboxes the
first has a 'Y' the 2nd and 3rd have a 'N' to the right of the box....

...george

new topic     » topic index » view message » categorize

2. Re: check boxes

Bernie,
what's wrong with using ...

  setText(butt_name, "New Text")

instead of 

  sendMessage(butt_name, WM_SETEXT, 0, allocate_string("New Text"))

----- Original Message ----- 
From: "Bernie Ryan" <xotron at localnet.com>
To: "EUforum" <EUforum at topica.com>
Sent: Wednesday, August 22, 2001 7:41 AM
Subject: RE: check boxes


> 
> 
> George Walters wrote:
> > I'm playing with check boxes and there's some text that windows places 
> > after
> > the box with some char's surrounded by a dotted box. Where is that text
> > coming from and how do I control it? anyone know? I have 3 checkboxes 
> > the
> > first has a 'Y' the 2nd and 3rd have a 'N' to the right of the box....
> > 
> 
> george:
> 
> Did you try a window's message :
> sendMessage(butt_name, WM_SETEXT, 0, allocate_string("New Text"))
> 
> Bernie
> 
> 
> 
> 
>

new topic     » goto parent     » topic index » view message » categorize

3. Re: check boxes

I don't understand. Where's the text to go? It's not an editText control.
Here's the check box line in the program.

id = create(CheckBox,"",grpActive,xt,yt,60,20,0)

Windows/Win32 puts an unexplained text of 'Y' after the check box on 2 of
the 3 checkboxes and a 'N' after the 3rd.

...george
----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: check boxes


>
> Bernie,
> what's wrong with using ...
>
>   setText(butt_name, "New Text")
>
> instead of
>
>   sendMessage(butt_name, WM_SETEXT, 0, allocate_string("New Text"))
>
> ----- Original Message -----
> From: "Bernie Ryan" <xotron at localnet.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Wednesday, August 22, 2001 7:41 AM
> Subject: RE: check boxes
>
>
> >
> >
> > George Walters wrote:
> > > I'm playing with check boxes and there's some text that windows places
> > > after
> > > the box with some char's surrounded by a dotted box. Where is that
text
> > > coming from and how do I control it? anyone know? I have 3 checkboxes
> > > the
> > > first has a 'Y' the 2nd and 3rd have a 'N' to the right of the box....
> > >
> >
> > george:
> >
> > Did you try a window's message :
> > sendMessage(butt_name, WM_SETEXT, 0, allocate_string("New Text"))
> >
> > Bernie
> >
> >
> >
> >
> >
>
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

4. Re: check boxes

never mind on the checkbox. i figured it out. thanks....

...george

----- Original Message -----
From: "Derek Parnell" <ddparnell at bigpond.com>
To: "EUforum" <EUforum at topica.com>
Subject: Re: check boxes


>
> Bernie,
> what's wrong with using ...
>
>   setText(butt_name, "New Text")
>
> instead of
>
>   sendMessage(butt_name, WM_SETEXT, 0, allocate_string("New Text"))
>
> ----- Original Message -----
> From: "Bernie Ryan" <xotron at localnet.com>
> To: "EUforum" <EUforum at topica.com>
> Sent: Wednesday, August 22, 2001 7:41 AM
> Subject: RE: check boxes
>
>
> >
> >
> > George Walters wrote:
> > > I'm playing with check boxes and there's some text that windows places
> > > after
> > > the box with some char's surrounded by a dotted box. Where is that
text
> > > coming from and how do I control it? anyone know? I have 3 checkboxes
> > > the
> > > first has a 'Y' the 2nd and 3rd have a 'N' to the right of the box....
> > >
> >
> > george:
> >
> > Did you try a window's message :
> > sendMessage(butt_name, WM_SETEXT, 0, allocate_string("New Text"))
> >
> > Bernie
> >
> >
> >
> >
> >
>
>
>
>
>

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu