Toolbar bug ?

Moderator: Rathinagiri

User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Toolbar bug ?

Post by danielmaximiliano »

Hola a Todos:
revisando la aplicacion de nuestro amigo Leopoldo Lugones <leopoldo_6691@yahoo.com.mx>.

el TOOLBAR con 14 BOTONES solo muestra 9 de ellos y los siguientes pierde el CAPTION.
probando varias cosas me encontre que la falla se debe a la cantidad de CONTROLES que contiene la VENTANA.
sacando algunos controles hasta que el TOOLBAR muestra la totalidad de sus BOTONES sin ningun error.
cuantos CONTROLES soporta un VENTANA alguien sabe ????

dejo las imagenes.

Translate Google:
Hi Everyone:
reviewing the application of our friend Leopoldo Lugones <leopoldo_6691@yahoo.com.mx>.

The toolbar with 14 buttons only shows 9 of them and lost following CAPTION.
testing various things I found that the failure is due to the amount of controls contained within the window.
removing some controls until the Toolbar shows all its buttons without any error.
WINDOW CONTROLS few supports anyone know????

let the images

SISTEMA DE Clientes!!!_2012-10-11_21-47-38.jpg
SISTEMA DE Clientes!!!_2012-10-11_21-47-38.jpg (104.54 KiB) Viewed 4690 times
SISTEMA DE Clientes!!!_2012-10-11_21-46-17.jpg
SISTEMA DE Clientes!!!_2012-10-11_21-46-17.jpg (94.94 KiB) Viewed 4690 times
SISTEMA DE Clientes!!!_2012-10-11_21-44-13.jpg
SISTEMA DE Clientes!!!_2012-10-11_21-44-13.jpg (103.99 KiB) Viewed 4690 times
I can send the complete code for the failure if needed.
can ask me for MP.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Toolbar bug ?

Post by Rathinagiri »

Please make a small working sample. Let us work it out.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Toolbar bug ?

Post by danielmaximiliano »

rathinagiri wrote:Please make a small working sample. Let us work it out.
Hi Rathinagiri :

Demo :
SISTEMA DE Clientes!!!_2012-10-11_23-16-38.jpg
SISTEMA DE Clientes!!!_2012-10-11_23-16-38.jpg (94.05 KiB) Viewed 4686 times
Sis2.rar
Drag & Drop Clientes.prg Over Mibuild.bat and compile with hmg.3.0.44
or double click over Mibuild.bat y enter only name "Clientes"
(19.32 KiB) Downloaded 314 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Toolbar bug ?

Post by Rathinagiri »

Yes, I can reproduce and confirm the problem. Let me research for the solution.

May be some C Gurus help us.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Toolbar bug ?

Post by danielmaximiliano »

rathinagiri wrote:Yes, I can reproduce and confirm the problem. Let me research for the solution.

May be some C Gurus help us.
Gracias/ Thanks Rathi
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Toolbar bug ?

Post by srvet_claudio »

Hi Daniel.
I checked your example and the bug appear in Windows 7 but not in Window XP.
Regards,
Claudio.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Toolbar bug ?

Post by Rathinagiri »

The problem exists in Vista too.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Toolbar bug ?

Post by srvet_claudio »

Sorry, I was wrong.
This is in XP, the bug is always in the button number 10.
Regards,
Claudio.
Attachments
daniel_xp.JPG
daniel_xp.JPG (49.09 KiB) Viewed 4620 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Toolbar bug ?

Post by danielmaximiliano »

srvet_claudio wrote:Hi Daniel.
I checked your example and the bug appear in Windows 7 but not in Window XP.
Regards,
Claudio.
Gracias / Thanks Claudio and Rathi

justo la maquina que tiene Windows XP no esta operativa en estos momentos, probe la aplicacion en Windows 7 Home premiun 64 con el mismo resultado, no funciona bien el Toolbar.

just the Windows XP machine that is not ready right now, I tried the application on Windows 7 Home premium 64 with the same result, the Toolbar does not work well.
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
danielmaximiliano
Posts: 2612
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Toolbar bug ?

Post by danielmaximiliano »

Hola a todos :
Resolvi de manera muy tosca el defecto que tiene el Toolbar.

sobre el evento On Init de la ventana Win_clie

Code: Select all

DEFINE WINDOW Win_Clie;
   AT 0,0 ;
   WIDTH AnchoWin ;
   HEIGHT AltoWin ;
   TITLE 'SISTEMA DE Clientes!!!';
   BACKCOLOR NIL;
   ON INIT ( ActRegClie('Ultimo'),IIF(Lastrec()==0,NuevoClie(.T.),NuevoClie(.F.)));
   CHILD

Code: Select all

*-----------------------------------------------------------------------------
PROCEDURE ActRegClie(cParam)
Local cRegistro
Local nCodigo := 0
Local nBusca := 0
Local nReg := 0
Win_Clie.Button_10a.Caption := 'Ultimo' 
Win_Clie.Button_11a.Caption := 'Ir A' 
Win_Clie.Button_12a.Caption := 'Browse' 
Win_Clie.Button_13a.Caption := 'Buscar'
Win_Clie.Button_14a.Caption := 'Salir'

MiArea('Clientes',1)
por ahora esa es la solución temporaria.
SISTEMA DE Clientes!!!_2012-10-12_14-21-54.jpg
SISTEMA DE Clientes!!!_2012-10-12_14-21-54.jpg (106.64 KiB) Viewed 4606 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Post Reply