Home > Archive > Getting Started with dBASE > February 2006 > Pushbutton problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Pushbutton problem
Tim MacAlpine

2006-02-05, 8:23 pm

I have a form to print envelopes or labels depending on which radio button
is selected. The form works as designed except that the pushbutton to print
the reports remains selected (highlighted) and is activated by repetative
use of the tab key. How can I get the pushbutton deselected?
Tim MacAlpine


Michael Nuwer [dBVIPS]

2006-02-05, 8:23 pm

Tim MacAlpine wrote:
> I have a form to print envelopes or labels depending on which radio button
> is selected. The form works as designed except that the pushbutton to print
> the reports remains selected (highlighted) and is activated by repetative
> use of the tab key. How can I get the pushbutton deselected?
> Tim MacAlpine


Hi Tim,

Try setting the pushbutton's speedbar property to "true." That might do
what you want.

this.PUSHBUTTON1 = new PUSHBUTTON(this)
with (this.PUSHBUTTON1)
text = "Pushbutton1"
speedBar = true
endwith

Tim MacAlpine

2006-02-05, 8:23 pm

Thanks Michael,
I'm not sure what it does, but it seems to have solved the problem.

Tim MacAlpine

"Michael Nuwer [dBVIPS]" <nuwermj@yahoo.com> wrote in message
news:cbeaQGpKGHA.1992@news-server...
> Hi Tim,
>
> Try setting the pushbutton's speedbar property to "true." That might do
> what you want.
>
> this.PUSHBUTTON1 = new PUSHBUTTON(this)
> with (this.PUSHBUTTON1)
> text = "Pushbutton1"
> speedBar = true
> endwith
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com