Double Button Get

Double Button Get

Postby Uwe.Diemer » Mon Sep 13, 2010 3: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
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Double Button Get

Postby Antonio Linares » Mon Sep 13, 2010 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Double Button Get

Postby Uwe.Diemer » Fri Sep 17, 2010 7:07 am

to complex for me !!!!

Perhaps a nice idea for the next FW Release

TX
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Double Button Get

Postby Antonio Linares » Fri Sep 17, 2010 7:50 am

Uwe,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Double Button Get

Postby Uwe.Diemer » Fri Sep 17, 2010 9:39 am

I see it in another Programm

I will post a link with video at the weekend

Thanks you
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Double Button Get

Postby Uwe.Diemer » Thu Sep 23, 2010 8:55 am

So it works

Colorchanging like Sbutton

With a alert icon in the get if error
Last edited by Uwe.Diemer on Sun Sep 26, 2010 4:44 am, edited 1 time in total.
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Double Button Get

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Double Button Get

Postby Uwe.Diemer » Fri Sep 24, 2010 6: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
User avatar
Uwe.Diemer
 
Posts: 98
Joined: Mon Aug 09, 2010 11:00 am

Re: Double Button Get

Postby Antonio Linares » Fri Sep 24, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42082
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 106 guests