Page 6 of 21

Re: HMG.3.4.2

Posted: Sun Oct 04, 2015 9:52 am
by emzampi
sorry

Re: HMG.3.4.2

Posted: Tue Oct 06, 2015 4:13 am
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	

Re: HMG.3.4.2

Posted: Tue Oct 06, 2015 4:28 am
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.

Re: HMG.3.4.2

Posted: Tue Oct 06, 2015 6:32 am
by emzampi
Unfortunately, the fix does not work for the label sett3 while working for the label data_1313 !!
Thanks for your help

Re: HMG.3.4.2

Posted: Fri Oct 09, 2015 7:46 am
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)

Re: HMG.3.4.2

Posted: Fri Oct 09, 2015 12:21 pm
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.

Re: HMG.3.4.2

Posted: Fri Oct 09, 2015 9:11 pm
by emzampi
Sorry for the silly

Re: HMG.3.4.2

Posted: Fri Oct 09, 2015 10:41 pm
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.

Re: HMG.3.4.2

Posted: Sat Oct 10, 2015 4:54 am
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 )

Re: HMG.3.4.2

Posted: Sat Oct 10, 2015 5:27 am
by serge_girard
Thanks Claudio!

Serge