Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

button in datawindow - buttonclicked event not always firing

2 posts in DataWindow .NET Last posting was on 2004-11-09 16:01:36.0Z
Jack Addington Posted on 2004-11-09 16:00:51.0Z
From: "Jack Addington" <jaddington@shaw.ca>
Newsgroups: sybase.public.datawindow.net
Subject: button in datawindow - buttonclicked event not always firing
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: s010600e018e32f17.cg.shawcable.net
X-Original-NNTP-Posting-Host: s010600e018e32f17.cg.shawcable.net
Message-ID: <4190e9b3$2@forums-1-dub>
Date: 9 Nov 2004 08:00:51 -0800
X-Trace: forums-1-dub 1100016051 68.147.193.82 (9 Nov 2004 08:00:51 -0800)
X-Original-Trace: 9 Nov 2004 08:00:51 -0800, s010600e018e32f17.cg.shawcable.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:678
Article PK: 125107

I have a datawindow with a column of checkboxes or buttons (see attachment).
If a certain set of data requirments are met I show the button, otherwise
the checkbox is visible. My problem is that even though the checkbox is not
visible, the button_clicked event is not firing unless I click on the very
outskirts of the button. The checkbox is a little bit shorter and narrower
than the button. I have the checkbox centered with the width the same as
the header so its easy to move around.

In the designer the button is BroughtToFront (hard to say BringToFront in
posttense :-) ). I suppose I could play with the sizes and move the
checkbox out of the way but I was wondering if there is something else or if
this is a bug and should be reported as such.

Also anyway to control the font on the button when the row is selected or is
that derived from Windows?

thx

jack


Jack Addington Posted on 2004-11-09 16:01:36.0Z
From: "Jack Addington" <jaddington@shaw.ca>
Newsgroups: sybase.public.datawindow.net
References: <4190e9b3$2@forums-1-dub>
Subject: Re: button in datawindow - related attachment
Lines: 251
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: s010600e018e32f17.cg.shawcable.net
X-Original-NNTP-Posting-Host: s010600e018e32f17.cg.shawcable.net
Message-ID: <4190e9e0@forums-1-dub>
Date: 9 Nov 2004 08:01:36 -0800
X-Trace: forums-1-dub 1100016096 68.147.193.82 (9 Nov 2004 08:01:36 -0800)
X-Original-Trace: 9 Nov 2004 08:01:36 -0800, s010600e018e32f17.cg.shawcable.net
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.datawindow.net:679
Article PK: 125106

opps forgot attachment...

"Jack Addington" <jaddington@shaw.ca> wrote in message
news:4190e9b3$2@forums-1-dub...
>I have a datawindow with a column of checkboxes or buttons (see
>attachment).
> If a certain set of data requirments are met I show the button, otherwise
> the checkbox is visible. My problem is that even though the checkbox is
> not
> visible, the button_clicked event is not firing unless I click on the very
> outskirts of the button. The checkbox is a little bit shorter and
> narrower
> than the button. I have the checkbox centered with the width the same as
> the header so its easy to move around.
>
> In the designer the button is BroughtToFront (hard to say BringToFront in
> posttense :-) ). I suppose I could play with the sizes and move the
> checkbox out of the way but I was wondering if there is something else or
> if
> this is a bug and should be reported as such.
>
> Also anyway to control the font on the button when the row is selected or
> is
> that derived from Windows?
>
> thx
>
> jack
>
>

button_Ex.jpg