... shown in Windows10. The solution I have been looking for : painting a frame on button-focus. Maybe possible to include the logic in class < Metropnl > like : :?: oMetro:lBtnFrame := .T. // frame YES / NO oMetro:nBtnFramePen := 4 // Pensize oMetro:nBtnFrameCol := CLR_WHITE // frame-color ...
... the right mouse button opens a menu, how to remove this menu? Thank´s Could you post a screenshot ? thanks this problem was solved , I changed the metropnl.prg line: // ::bRClicked := { |r,c,f| ::DesignMenu(r,c,f) } Thank´s João ALpande
Antonio , A alteração que indicou foi no metro.ch mas nao funciona , teste alterar o metropnl.ch e funciona bem : [ <oBtn> := ] <oMetro>:AddButton( <.large.>, <nGroup>, <cPrompt>, [{| Self |<uAction>}], ...
Antonio, neste teste uso o metropnl.ch do \fwh\include e não o metro.ch compilado oMetro1 := TMetroPanel():New( oWnd, "Catálogo de Vinhos",,, {|| msgalert(ownd:oCtlFocus())},,, )oMetro1:lDesignMode ...
... reduced to fit in the rect without changing the aspect ratio. * Bar.prg: New data aBmpRect is added as explained above. * New: TMetroPanel class (metropnl.prg). New data bOnMoveBtn TMetroBtn class: New Data bOnMove When a button is dragged and dropped the codeblock is executed with MetroPanel ...
... reduced to fit in the rect without changing the aspect ratio. * Bar.prg: New data aBmpRect is added as explained above. * New: TMetroPanel class (metropnl.prg). New data bOnMoveBtn TMetroBtn class: New Data bOnMove When a button is dragged and dropped the codeblock is executed with MetroPanel ...
... reduced to fit in the rect without changing the aspect ratio. * Bar.prg: New data aBmpRect is added as explained above. * New: TMetroPanel class (metropnl.prg). New data bOnMoveBtn TMetroBtn class: New Data bOnMove When a button is dragged and dropped the codeblock is executed with MetroPanel ...
... a background image and without. All of the testing was done with the \samples\metrptst.prg program running under XP Pro SP3. I have looked at the metropnl.prg but since it is so complex, I do not see anything obvious that may be causing these issues. I was hoping to use this class to create a ...