HMG.3.4.2

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

sorry
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

emzampi wrote:sorry
The problem is due to repainted of the panel window, your procedure of change events is very overload.

Change the definition of its labels for these (I added autosize property):

Code: Select all

@ 40,1040 LABEL DATA_1313 VALUE  ''  font '.vntime' size 12 bold FONTCOLOR RED /*WIDTH 250 HEIGHT 20*/ AUTOSIZE 

@ 30+rig , 950  label  sett3 value '' AUTOSIZE // WIDTH 180 HEIGHT 15	// per busta gomma plastica	
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

emzampi wrote:unfortunately with a small example I could not reproduce the problem, so I enclose the original and filled with hmg 3.4.0 has no problem while it has with hmg 3.4.2 (see .avi for directions). the label in question is called sett3 - I apologize for this jumble of codes entered in bulk and certainly not at the top of the schedule.
Thanks for report.
I fixed.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

Unfortunately, the fix does not work for the label sett3 while working for the label data_1313 !!
Thanks for your help
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

I noticed that changing panel and returning to the previous data is displayed in a clean and no longer overlapped I hope this will help to find a solution (see .avi)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG.3.4.2

Post by esgici »

emzampi wrote:I noticed that changing panel and returning to the previous data is displayed in a clean and no longer overlapped I hope this will help to find a solution (see .avi)
Please don't use official file names for your own files.
Viva INTERNATIONAL HMG :D
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: HMG.3.4.2

Post by emzampi »

Sorry for the silly
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

emzampi wrote:I noticed that changing panel and returning to the previous data is displayed in a clean and no longer overlapped I hope this will help to find a solution (see .avi)
Yes it is a problem of repainting the LABEL control, you can achieve the same effect by minimizing and then restoring the window or running:

RedrawWindow( BUSTA1.HANDLE )

I already fixed the problem, thank you anyway.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG.3.4.2

Post by srvet_claudio »

Hi Friends,
please test this patch:

Code: Select all

- Fixed bug in SetGridQueryData() in Win XP (reported by Eduardo Luis)
- Fixed bug in TrackPopupMenu() (reported by Esgici and Mustafa)
- Fixed bug in Transparent Label (reported by Emzampi)
- Fixed bug in Transparent property of BT_DrawText() function (reported by Andres Gonzales)
- Fixed bug in DynamicBackColor and DynamicForeColor of the Grid control when used with database (reported by Luis Vasquez)

- New internal function: HMG_Trace()

- New BT_DrawTextEx (hDC, Row, Col, Width, Height, cText, cFontName, nFontSize, aFontColor, aBackColor, nTypeText, nAlingText, nOrientation)

- New: now in Label control is possible to assign any data type or a list of data, e.g.
      - Form.Label.Value := xDataType
      - Form.Label.Value := { xDataType, xDataType, ... }
      
- New CLEAR MEMORY, release unused memory (leak memory), test for example:
      - ON KEY F5 ACTION ( CLEAR MEMORY )
      - DEFINE TIMER ... ACTION ( CLEAR MEMORY )
Attachments
hmg.3.4.2_patch_1.rar
(844.47 KiB) Downloaded 452 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
serge_girard
Posts: 3309
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG.3.4.2

Post by serge_girard »

Thanks Claudio!

Serge
There's nothing you can do that can't be done...
Post Reply