Antonio: Some Little Bugs

Antonio: Some Little Bugs

Postby byte-one » Mon Nov 05, 2012 2: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Antonio: Some Little Bugs

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Antonio: Some Little Bugs

Postby Rick Lipkin » Mon Nov 12, 2012 1: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: Select all  Expand view

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
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Antonio: Some Little Bugs

Postby carlos vargas » 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)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: Antonio: Some Little Bugs

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Antonio: Some Little Bugs

Postby byte-one » Sun Dec 02, 2012 5:00 pm

Antonio, please take a look at this points!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Antonio: Some Little Bugs

Postby Antonio Linares » Wed Dec 05, 2012 7:32 am

carlos vargas wrote:Antonio...

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

::oGet:SetText( oFont )

?

salu2
carlos vargas


Added as ::oGet:SetFont( ::oFont )

thanks! :-)
regards, saludos

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

Re: Antonio: Some Little Bugs

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

Re: Antonio: Some Little Bugs

Postby carlos vargas » Wed Dec 05, 2012 4: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)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests