FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Antonio: Some Little Bugs
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Antonio: Some Little Bugs
Posted: Mon Nov 05, 2012 02:22 PM

Hello Antonio!
1: In Combobox with style CBS_DROPDOWN (with Get) the font becomes big if the combobox are setting to "disabled".
2: On gets with oGet:bPostedit := {|,cBuffer| } the cBuffer becomes NIL if the len of the get-variable is reached and another key is pressed.
3: In Combobox method ::set() should also evaluated the ::bChanged if exist.
4: In TRANSPARENT dialogs the treeview is ugly!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Antonio: Some Little Bugs
Posted: Mon Nov 12, 2012 11:16 AM

5: Also on Combobox the variable are not updated, when i call ::set(???) and the goal of set are the actual ::nAt.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Antonio: Some Little Bugs
Posted: Mon Nov 12, 2012 01:47 PM
Günther

Here is the answer to your first question from Enrico .. had the same problem myself .

viewtopic.php?f=3&t=24915

Code (fw): Select all Collapse
REDEFINE COMBOBOX oCbx VAR cItem ITEMS { "Testing", "this", "ComboBox" } ;
      ID 110 OF oDlg when cMode <> "V"

   oCbx:oGet:SetFont( oFont ) // <-- here is the fix


Rick Lipkin
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Antonio: Some Little Bugs
Posted: Mon Nov 12, 2012 10:51 PM

Antonio...

is not better put this code in the initiate method of combobox

::oGet:SetText( oFont )

?

salu2
carlos vargas

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Antonio: Some Little Bugs
Posted: Tue Nov 13, 2012 12:44 PM

Thanks to all. Point 1. is functioning! The class should do this automatically.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Antonio: Some Little Bugs
Posted: Sun Dec 02, 2012 05:00 PM

Antonio, please take a look at this points!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Antonio: Some Little Bugs
Posted: Wed Dec 05, 2012 07:32 AM
carlos vargas wrote:Antonio...

is not better put this code in the initiate method of combobox

::SetText( oFont )

?

salu2
carlos vargas


Added as ::SetFont( ::oFont )

thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Antonio: Some Little Bugs
Posted: Wed Dec 05, 2012 07:36 AM
byte-one wrote:Hello Antonio!
3: In Combobox method ::set() should also evaluated the ::bChanged if exist.


Implemented, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: Antonio: Some Little Bugs
Posted: Wed Dec 05, 2012 04:55 PM

Eso Antonio, me habia equivocado con el metodo, puse SetText en lugar de SetFont.
pero lo importante es que esta implementado.

salu2
carlos vargas

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion