FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Double Button Get
Posts: 99
Joined: Mon Aug 09, 2010 11:00 AM
Double Button Get
Posted: Mon Sep 13, 2010 03:58 PM

Hello i need help !!

I need a Btnget with 2 Buttons inside

Any Idee how can place 2 Superbuttons inside a Get

Tx

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Double Button Get
Posted: Mon Sep 13, 2010 06:10 PM

Uwe,

If you use FWH Class TGet with clause ACTION then you will see that we create a TButtonBmp as a child control of it.

Its code can be easily modified to have two buttons or more :-)

Have a look at FWH\source\classes\tget.prg source code. Look for "BUTTONBMP" inside it.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 99
Joined: Mon Aug 09, 2010 11:00 AM
Re: Double Button Get
Posted: Fri Sep 17, 2010 07:07 AM

to complex for me !!!!

Perhaps a nice idea for the next FW Release

TX

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Double Button Get
Posted: Fri Sep 17, 2010 07:50 AM

Uwe,

Please provide a drawing to get an idea about how you need it, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 99
Joined: Mon Aug 09, 2010 11:00 AM
Re: Double Button Get
Posted: Fri Sep 17, 2010 09:39 AM

I see it in another Programm

I will post a link with video at the weekend

Thanks you

Posts: 99
Joined: Mon Aug 09, 2010 11:00 AM
Re: Double Button Get
Posted: Thu Sep 23, 2010 08:55 AM

So it works

Colorchanging like Sbutton

With a alert icon in the get if error

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Double Button Get
Posted: Thu Sep 23, 2010 10:49 AM

Uwe,

You can simply use an editable combobox and place a button at its right side to clear the combobox contents :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 99
Joined: Mon Aug 09, 2010 11:00 AM
Re: Double Button Get
Posted: Fri Sep 24, 2010 06:57 AM

No wrong Way

a new Control is the right way with inside buttons also useable as calendardropbox calculator etc Hotkey colored Gets it got focus

u see a difference between xbrowse and the standard browse

Sure we can do all with the old browse but is that the right way ?

No need for a car if u had feet

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Double Button Get
Posted: Fri Sep 24, 2010 07:59 AM

Uwe,

I have clearly explained you how to build such two buttons control. You can build it yourself.

My proposal of using a combobox and a side button is much simpler for you. Whatever you prefer.

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion