I try to use the GET with ACTION clausule, but the right align still wrong
The value still behind the button! Very ugly!
Antonio Linares wrote:Júlio,
We are currently working on it, to solve that problem and also the horizontal scrolling issue.
Antonio Linares wrote:Júlio,
We are currently working on it, to solve that problem and also the horizontal scrolling issue.
I'm also waiting for this fix before I can use itAntonio Linares wrote:No, it has not been solved, though the source code is in 8.10.Please review source\classes\tget.prg and look for WM_NCCALCSIZE
Antonio Linares wrote:Patrick,
The source code for it is in 8.10, but if we apply it the client area gets reduced and the button is not visible.
We are not sure yet if it can get visible, or if we have to place it out of the GET, not as a child control.
case lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_RIGHT )
SetTextAlign( ::hDC, TA_RIGHT )
if ::lSpinner
ExtTextOut( ::hDC, 1, ::nWidth() - 7 - GetSysMetrics( SM_CYHSCROLL ),;
{ 0, 0, ::nHeight(), ::nWidth() }, GetWindowText( ::hWnd ) )
else
ExtTextOut( ::hDC, 1, ::nWidth() - 7 ,;
{ 0, 0, ::nHeight(), ::nWidth() }, GetWindowText( ::hWnd ) )
endif
case lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_RIGHT )
SetTextAlign( ::hDC, TA_RIGHT )
if ::lSpinner
ExtTextOut( ::hDC, 1, ::nWidth() - 7 - GetSysMetrics( SM_CYHSCROLL ),;
{ 0, 0, ::nHeight(), ::nWidth() }, GetWindowText( ::hWnd ) )
else
if ValType( ::bAction ) == "B" // Agregar
ExtTextOut( ::hDC, 1, ::nWidth() - 7 - ::nHeight,; //agregar
{ 0, 0, ::nHeight(), ::nWidth() }, GetWindowText( ::hWnd ) ) //agregar
else //agregar
ExtTextOut( ::hDC, 1, ::nWidth() - 7 ,;
{ 0, 0, ::nHeight(), ::nWidth() }, GetWindowText( ::hWnd ) )
endif //agregar
endif
::SetMargins( 1, 1 )
if ValType( ::bAction ) == "B" // new
::SetMargins( 1, ::nHeight) //new
else //new
::SetMargins( 1, 1 )
endif //new
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 91 guests