messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2007-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Peter,\n\n>\nAlso, we think that this error only occurs when the application is run through a remote desktop connection. \n>\n\nIts a quite strange error, because the C functions used in Method LoadBitmaps() always return an array, and in your error that array, somehow, has turned into a number (memory corruption?)\n\nAnyhow, what you can do is to protect that method to avoid the error, this way:\n[code:3pya8761]\n if ! Empty( cResName1 )\n aBmpPal = PalBmpLoad( cResName1 )\n if ValType( aBmpPal ) == \"A\"\n ::hBitmap1 = aBmpPal[ 1 ]\n ::hPalette1 = aBmpPal[ 2 ]\n endif\n endif\n[/code:3pya8761]\nand do that for each use of aBmpPal in the method", "time": "12:24", "topic": "BtnBMP Error", "username": "Antonio Linares" } ]
BtnBMP Error
[ { "date": "2007-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Antonio,\n\nThat has prevented the error message. I have now noticed that it is always the same bmp that is missing (which is what i'm assuming is causing the error) Could there be a problem with the resource file? - the bitmap used is contained in a resource file.\n\nAlso, what do we do from now on? Will i have to make the change you mention to all future versions of fivewin or will this be incorporated into future releases?\n\nAs i've found what part of the code is causing the error, is there anything i can do to give you any more info on why this is occurring? The code that uses the bitmap is:\n\nDEFINE BUTTON OF oBar RESOURCE \"TOP\" NOBORDER GROUP ACTION (CursorWait(), oBrw:GoTop(), oBrw:SetFocus(), CursorArrow()) TOOLTIP \"Top\"\n\nThanks for your help\n\nPete", "time": "15:29", "topic": "BtnBMP Error", "username": "PeterHarmes" } ]
BtnBMP Error
[ { "date": "2007-12-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Pete,\n\nPlease email me the bitmap file\n\nWhat FWH version are you using ?\n\nWe can include such source code change in FWH source code, though we would like to understand and locate where the error is coming from", "time": "18:06", "topic": "BtnBMP Error", "username": "Antonio Linares" } ]
BtnBMP Error
[ { "date": "2007-12-13", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nThanks for the reply - just sent you an email.\n\nPete", "time": "15:42", "topic": "BtnBMP Error", "username": "PeterHarmes" } ]
BtnBMP Error
[ { "date": "2015-03-19", "forum": "FiveWin for Harbour/xHarbour", "text": "When using a button bitmap on a dialog within a method in a class, when I end the dialog, I get an error:\n\ntBtnBmp:New( 249 ) No exported method: NCLRTEXT\n\nLooking at the btnbmp source, it is actually calling ::oWnd:nclrtext\n\nCan anyone shed some light on what is happening so I can resolve this ? It is not specific to that bitmap.\n\nThanks for your ideas.\n\nFWH 15.02, Harbour, MSVC 2013", "time": "22:43", "topic": "BtnBmp", "username": "TimStone" } ]
BtnBmp
[ { "date": "2015-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nIt seems as ::oWnd is nil and it shouldn't be\n\nCould you post the entire error.log here ? thanks", "time": "00:42", "topic": "BtnBmp", "username": "Antonio Linares" } ]
BtnBmp
[ { "date": "2015-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:1rvonew7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Application<br />===========<br />&nbsp; &nbsp;Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\Projects VS\\MLS Service Writer <span style=\"color: #000000;\">10</span>\\Debug\\MLS Service Writer <span style=\"color: #000000;\">10</span>.exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">*********</span> bytes<br />&nbsp; &nbsp;Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r1412151448<span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;FiveWin &nbsp;Version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">15.02</span><br />&nbsp; &nbsp;Windows version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br />&nbsp; &nbsp;Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">39</span> secs <br />&nbsp; &nbsp;Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">03</span>/<span style=\"color: #000000;\">19</span>/<span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">14</span>:<span style=\"color: #000000;\">33</span>:<span style=\"color: #000000;\">42</span><br />&nbsp; &nbsp;Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1004</span> &nbsp;No exported <span style=\"color: #00C800;\">method</span>: <span style=\"color: #000000;\">NCLRTEXT</span><br />&nbsp; &nbsp;Args:<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#91;</span> &nbsp; <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = U &nbsp; <br /><br />Stack Calls<br />===========<br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> NCLRTEXT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #00C800;\">NEW</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">249</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">SAVE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1636</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\Projects\\MLS2015\\Source\\mAPaccounts.PRG => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TVENDORS_FULLEDIT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">195</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">535</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">LBUTTONUP</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">763</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1723</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1409</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3355</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> DIALOGBOX<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG => TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">286</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\Projects\\MLS2015\\Source\\mAPaccounts.PRG => TVENDORS:<span style=\"color: #000000;\">FULLEDIT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">224</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\Projects\\MLS2015\\Source\\asw2015.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">363</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #0000ff;\">CLICK</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">535</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">LBUTTONUP</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">763</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1723</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1409</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3355</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: &nbsp;=> WINRUN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1057</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">C</span>:\\Projects\\MLS2015\\Source\\asw2015.prg => MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">404</span> <span style=\"color: #000000;\">&#41;</span><br /><br />System<br />======<br />&nbsp; &nbsp;CPU type: <span style=\"color: #000000;\">Intel</span><span style=\"color: #000000;\">&#40;</span>R<span style=\"color: #000000;\">&#41;</span> Core<span style=\"color: #000000;\">&#40;</span>TM<span style=\"color: #000000;\">&#41;</span> i5<span style=\"color: #000000;\">-4460</span> &nbsp;CPU @ <span style=\"color: #000000;\">3</span>.20GHz <span style=\"color: #000000;\">75</span> Mhz<br />&nbsp; &nbsp;Hardware memory: <span style=\"color: #000000;\">12240</span> megs<br /><br />&nbsp; &nbsp;Free System resources: <span style=\"color: #000000;\">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; GDI &nbsp; &nbsp;resources: <span style=\"color: #000000;\">90</span> %<br />&nbsp; &nbsp; &nbsp; &nbsp; User &nbsp; resources: <span style=\"color: #000000;\">90</span> %<br /><br />&nbsp; &nbsp;Windows total applications running: <span style=\"color: #000000;\">6</span><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">1</span> , C:\\windows\\SYSTEM32\\SHELL32.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">2</span> , C:\\windows\\WinSxS\\x86_microsoft.windows.common-controls_6595b64144ccf1df_6<span style=\"color: #000000;\">.0</span><span style=\"color: #000000;\">.9600</span>.17415_none_a9ed7f <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">3</span> DDE <span style=\"color: #00C800;\">Server</span> <span style=\"color: #0000ff;\">Window</span>, C:\\windows\\SYSTEM32\\ole32.dll &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">4</span> GDI+ <span style=\"color: #0000ff;\">Window</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">5</span> GDI+ <span style=\"color: #0000ff;\">Window</span>, C:\\windows\\WinSxS\\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1<span style=\"color: #000000;\">.1</span><span style=\"color: #000000;\">.9600</span>.17415_none_dad8722c5bcc2d <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">6</span> Task Switching, C:\\Projects VS\\MLS Service Writer <span style=\"color: #000000;\">10</span>\\Debug\\MLS Service Writer <span style=\"color: #000000;\">10</span>.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br /><br />Variables in use<br />================<br />&nbsp; &nbsp;Procedure &nbsp; &nbsp; Type &nbsp; Value<br />&nbsp; &nbsp;==========================<br />&nbsp; &nbsp;NCLRTEXT<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">ERROR</span><br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #00C800;\">NEW</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #000000;\">SAVE</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\" \"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">12</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">13</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">14</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">15</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">16</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">17</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">18</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">19</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">20</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"TOP\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">21</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">22</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">23</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">24</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">25</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">26</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">27</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">28</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">29</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">30</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp;<span style=\"color: #000000;\">31</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>TVENDORS_FULLEDIT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"\"</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #0000ff;\">CLICK</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #000000;\">LBUTTONUP</span><br />&nbsp; &nbsp;TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">29</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">36</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1900580</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1900580</span><br />&nbsp; &nbsp;DIALOGBOX<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1900580</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">1900580</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">76</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />&nbsp; &nbsp;TDIALOG:<span style=\"color: #0000ff;\">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">3211264</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"PRO5210W\"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">7146848</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp;TVENDORS:<span style=\"color: #000000;\">FULLEDIT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">B</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">7146848</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TDIALOG</span><br />&nbsp; &nbsp;<span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>MAIN<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TVENDORS</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp;<span style=\"color: #000000;\">163</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp;<span style=\"color: #000000;\">249</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">A</span> &nbsp; &nbsp;Len: &nbsp; <span style=\"color: #000000;\">65</span><br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #0000ff;\">CLICK</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #000000;\">LBUTTONUP</span><br />&nbsp; &nbsp;TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">55</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">22</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.T.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">S</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;TBTNBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">3604502</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp;_FWH<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">3604502</span><br />&nbsp; &nbsp;WINRUN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">3604502</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">514</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">3604502</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">9</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TBTNBMP</span><br />&nbsp; &nbsp;TWINDOW:<span style=\"color: #0000ff;\">ACTIVATE</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">N</span> &nbsp; &nbsp;<span style=\"color: #000000;\">7146848</span><br />&nbsp; &nbsp;MAIN<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">C</span> &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"MAXIMIZED\"</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">4</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">5</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">6</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">B</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">7</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">8</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp; <span style=\"color: #000000;\">9</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">10</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">11</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">12</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">13</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">14</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">15</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">16</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">17</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">B</span> &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span>|| ... <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">18</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">19</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;Param &nbsp;<span style=\"color: #000000;\">20</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">L</span> &nbsp; &nbsp;.F.<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">1</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">O</span> &nbsp; &nbsp;<span style=\"color: #00C800;\">Class</span>: <span style=\"color: #000000;\">TWINDOW</span><br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> &nbsp; <span style=\"color: #000000;\">3</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">U</span> &nbsp; &nbsp;<br /><br />Linked RDDs<br />===========<br />&nbsp; &nbsp;DBF<br />&nbsp; &nbsp;DBFFPT<br />&nbsp; &nbsp;DBFBLOB<br />&nbsp; &nbsp;DBFCDX<br />&nbsp; &nbsp;DBFNTX<br />&nbsp; &nbsp;ADS<br />&nbsp; &nbsp;ADSADT<br />&nbsp; &nbsp;ADSVFP<br />&nbsp; &nbsp;ADSCDX<br />&nbsp; &nbsp;ADSNTX<br /><br />DataBases in use<br />================<br /><br />&nbsp; <span style=\"color: #000000;\">1</span>: => DB001 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RddName: <span style=\"color: #000000;\">ADSCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">169</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">228</span> &nbsp; &nbsp; &nbsp;.F. &nbsp; .F.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;acpnum &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AAPVEN<br />&nbsp; &nbsp; &nbsp; &nbsp; => upper<span style=\"color: #000000;\">&#40;</span>acpcom<span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AAPCOM<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />&nbsp; <span style=\"color: #000000;\">2</span>: &nbsp; &nbsp;<span style=\"color: #000000;\">DB002</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RddName: <span style=\"color: #000000;\">ADSCDX</span><br />&nbsp; &nbsp; &nbsp;==============================<br />&nbsp; &nbsp; &nbsp;RecNo &nbsp; &nbsp;RecCount &nbsp; &nbsp;BOF &nbsp; EOF<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">186</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">185</span> &nbsp; &nbsp; &nbsp;.F. &nbsp; .T.<br /><br />&nbsp; &nbsp; &nbsp;Indexes in use &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;TagName<br />&nbsp; &nbsp; &nbsp; &nbsp; => acpnum &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AAPTRN<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;acpnum+DTOS<span style=\"color: #000000;\">&#40;</span>acppdt<span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AAPTRD<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;acpnum+acpinv &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AAPTRR<br /><br />&nbsp; &nbsp; &nbsp;Relations in use<br /><br />Classes in use:<br />===============<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">1</span> ERROR<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">2</span> HBCLASS<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">3</span> HBOBJECT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">4</span> TCALC<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">5</span> TFONT<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">6</span> TDATABASE<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">7</span> TDATA<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">8</span> TCONFIG<br />&nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">9</span> TBRUSH<br />&nbsp; &nbsp; <span style=\"color: #000000;\">10</span> TWINDOW<br />&nbsp; &nbsp; <span style=\"color: #000000;\">11</span> TCONTROL<br />&nbsp; &nbsp; <span style=\"color: #000000;\">12</span> TBITMAP<br />&nbsp; &nbsp; <span style=\"color: #000000;\">13</span> TDIALOG<br />&nbsp; &nbsp; <span style=\"color: #000000;\">14</span> TGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">GET</span><br />&nbsp; &nbsp; <span style=\"color: #000000;\">16</span> TCLIPGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">17</span> TBTNBMP<br />&nbsp; &nbsp; <span style=\"color: #000000;\">18</span> TRECT<br />&nbsp; &nbsp; <span style=\"color: #000000;\">19</span> TICON<br />&nbsp; &nbsp; <span style=\"color: #000000;\">20</span> TMENU<br />&nbsp; &nbsp; <span style=\"color: #000000;\">21</span> TMENUITEM<br />&nbsp; &nbsp; <span style=\"color: #000000;\">22</span> TBAR<br />&nbsp; &nbsp; <span style=\"color: #000000;\">23</span> TMSGBAR<br />&nbsp; &nbsp; <span style=\"color: #000000;\">24</span> TMSGITEM<br />&nbsp; &nbsp; <span style=\"color: #000000;\">25</span> TTIMER<br />&nbsp; &nbsp; <span style=\"color: #000000;\">26</span> TVENDORS<br />&nbsp; &nbsp; <span style=\"color: #000000;\">27</span> TLEDGER<br />&nbsp; &nbsp; <span style=\"color: #000000;\">28</span> TVENDORDATA<br />&nbsp; &nbsp; <span style=\"color: #000000;\">29</span> TCOMBOBOX<br />&nbsp; &nbsp; <span style=\"color: #000000;\">30</span> TMULTIGET<br />&nbsp; &nbsp; <span style=\"color: #000000;\">31</span> TXBROWSE<br />&nbsp; &nbsp; <span style=\"color: #000000;\">32</span> TXBRWCOLUMN<br />&nbsp; &nbsp; <span style=\"color: #000000;\">33</span> TBUTTON<br />&nbsp; &nbsp; <span style=\"color: #000000;\">34</span> TBUTTONBMP<br />&nbsp; &nbsp; <span style=\"color: #000000;\">35</span> TSCROLLBAR<br />&nbsp; &nbsp; <span style=\"color: #000000;\">36</span> TREG32<br /><br />Memory Analysis<br />===============<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">762</span> <span style=\"color: #00C800;\">Static</span> variables<br /><br />&nbsp; &nbsp;Dynamic memory consume:<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">Actual</span> &nbsp;Value: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">0</span> bytes<br />&nbsp; &nbsp; &nbsp; Highest Value: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">0</span> bytes<br />\u001a<br /><br />&nbsp;</div>[/code:1rvonew7]", "time": "02:44", "topic": "BtnBmp", "username": "TimStone" } ]
BtnBmp
[ { "date": "2015-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nAs I guesssed, oWnd is nil.\n\nPlease show here the source code line contents where you create that BtnBmp, thanks", "time": "07:29", "topic": "BtnBmp", "username": "Antonio Linares" } ]
BtnBmp
[ { "date": "2015-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Did you by any chance have a code like:\n\n[code=fw:3r02c3ef]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ r,c, <span style=\"color: #0000ff;\">BTNBMP</span> oBtn ............... <span style=\"color: #0000ff;\">ACTION</span> ::<span style=\"color: #000000;\">Save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:3r02c3ef]\n\nThis does not get translated as <yourclass>:Save() but gets translated as oBtn:Save()", "time": "14:16", "topic": "BtnBmp", "username": "nageswaragunupudi" } ]
BtnBmp
[ { "date": "2015-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nIf you are doing what Rao said, and if ::save() is a method of a TData or TRecord subclass, then you should not be making user interface code as part of the subclass, but rather passing the data object to the UI code. Remember that data objects should be models of real-world objects (e.g. customers, parts, etc.) and thus should not contain UI code.\n\nIf that is not what you are doing, then ignore everything I just said.\n\nJames", "time": "15:23", "topic": "BtnBmp", "username": "James Bott" } ]
BtnBmp
[ { "date": "2015-03-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\nThat resolved it. Thanks. \n\nJames,\n\nThe older I get, the less perfect I see the \"real world\". \n\nI have separate data and interface classes. It's all part of my cleanup strategy and it works nicely. \n\nTo me, a user interface should no longer be a function, it should be a class. I've got so many functions that do essentially the same task, so all of those are being condensed into one for like actions. The code base is getting smaller and far more manageable.\n \nTim", "time": "16:44", "topic": "BtnBmp", "username": "TimStone" } ]
BtnBmp
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi you all,\n\nDoes anyone knows how to get rid of this anoying line surronding BtnBmp's???\n\n[img:3t26gl24]http&#58;//www&#46;mayapos&#46;com/FiveWin/boton3&#46;png[/img:3t26gl24]\n\nIt appears when the mouse is on top of the button...\n\nI've tried [color=#FF0000:3t26gl24]:lBoxSelect := .F.[/color:3t26gl24]\n\nWhich is the only thing I found in the class that I think can do anything about it, but it does not do it....\n\nAny help will be appreciated....\n\nThanks!!!", "time": "07:13", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "test with\noBtnbmp:lTRANSPARENT = .T.\n\nsaluti\nStefano", "time": "16:27", "topic": "BtnBmp (SOLVED)", "username": "stefano" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Stefano, but I already tried and did not work, It seems that I get this effect because of the color of my bitmaps, when I use a picture it does no doit...\n\nI think it does that to create the effect of movement in the button....", "time": "16:33", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "I included this Button, but cannot discover such Effect.\nMaybe the way the Background is defined ?\n\n[img:2zda8n9l]http&#58;//www&#46;pflegeplus&#46;com/pictures/btnfoc1&#46;jpg[/img:2zda8n9l]\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "16:53", "topic": "BtnBmp (SOLVED)", "username": "ukoenig" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the way I define the control:\n\n[code=fw:1r4e59c6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ <span style=\"color: #000000;\">&#40;</span> Cuadro2<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> + <span style=\"color: #000000;\">&#40;</span> Btn2Height * <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#40;</span> Cuadro2<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> + <span style=\"color: #000000;\">&#40;</span> Btn2Width * <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> +  <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnA<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>  <span style=\"color: #0000ff;\">OF</span> oDialog FILENAME <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\M</span>ayaPOS<span style=\"color: #000000;\">\\g</span>raficos<span style=\"color: #000000;\">\\b</span>otones<span style=\"color: #000000;\">\\b</span>rush<span style=\"color: #000000;\">\\n</span>egro-rojo.bmp\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">&#40;</span> Btn2Width - <span style=\"color: #000000;\">7</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#40;</span> Btn2Height - <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">ADJUST</span> NOBORDER<br /> </div>[/code:1r4e59c6]", "time": "17:17", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "try this example \nbmp 32 bit\n\nStefano\n\n+ + + + + + +\n// Dialog test\n\n#include \"FiveWin.ch\"\n\nstatic oDlg,obmp\n//----------------------------------------------------------------------------//\n\nfunction Main()\n\n DEFINE DIALOG oDlg TITLE \"Dialog 1\" FROM 0, 0 TO 20, 40 TRANSPARENT\n \n * say ....\n * get .... \n \n ACTIVATE DIALOG oDlg CENTERED ON INIT (GradBrush( oDlg,nRGB( 255, 255, 255 ),rgb(255,246,143 )),[color=#0000FF:w57fkfyt]dlgbmp()[/color:w57fkfyt])\n\nreturn nil\n\nFUNCTION [color=#0000FF:w57fkfyt]dlgbmp()[/color:w57fkfyt]\n\n @30,30 BTNBMP obmp file \"..\\bitmaps\\exit.bmp\" NOBORDER ACTION oDlg:end() of oDlg pixel SIZE 26,26\n\n \n obmp:lTRANSPARENT = .T.\n \nRETURN (NIL) \n\n\nSTATIC FUNCTION GradBrush( oDlgkk,color1,color2)\nlocal hDC, hBmp, hBmpOld,obrush\n\n hDC = CreateCompatibleDC( oDlgkK:GetDC() )\n hBmp = CreateCompatibleBitMap( oDlgkK:hDC, oDlgkK:nWidth, oDlgkK:nHeight )\n hBmpOld = SelectObject( hDC, hBmp )\n \n Gradient( hDC, {0, 0, oDlgkk:nHeight, oDlgKk:nWidth } ,color1,color2, .t. )\n \n DeleteObject( oDlgkK:oBrush:hBrush )\n oDlgkK:oBrush:hBitmap = hBmp\n oDlgkK:oBrush:hBrush = CreatePatternBrush( hBmp )\n SelectObject( hDC, hBmpOld )\n oDlgKk:ReleaseDC()\n\nRETURN (nil)\n\n//-------------------------------------------------------------------// \nDLL32 FUNCTION CREATECOMPATIBLEBITMAP( hDC AS LONG,; \n nWidth AS LONG,; \n nHeight AS LONG) AS LONG; \n PASCAL FROM \"CreateCompatibleBitmap\" LIB \"gdi32.dll\"", "time": "17:28", "topic": "BtnBmp (SOLVED)", "username": "stefano" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Mr. Stefano, but it did not worked for me when applied to my window...\n\nIn your sample, the new dialog copies the background for some reazon...\n\nThis is an example that reproduces the problem:\n\n[code=fw:1r0btrcv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oDialog<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oDialog ;<br />        <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">TO</span> WndHeight<span style=\"color: #000000;\">&#40;</span> GetDesktopWindow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ; <span style=\"color: #B900B9;\">//- fhTaskBar() )</span><br />         WndWidth<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#40;</span> GetDesktopWindow<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />        <span style=\"color: #0000ff;\">PIXEL</span> ;<br />        <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE,CLR_BLACK;<br />        <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Button\"</span>;<br />        <span style=\"color: #0000ff;\">STYLE</span> nOR<span style=\"color: #000000;\">&#40;</span> WS_POPUP <span style=\"color: #000000;\">&#41;</span>;<br />        NOSYSMENU <br />        <br />          @ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtnA  <span style=\"color: #0000ff;\">OF</span> oDialog FILENAME <span style=\"color: #ff0000;\">\"negro-rojo.bmp\"</span> <span style=\"color: #0000ff;\">SIZE</span>  <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">ADJUST</span> NOBORDER<br />          <br />     <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span>  oDialog<br /><br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:1r0btrcv]", "time": "18:23", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, there are different Results. \nMake a Test and define a brush-function on [color=#FF0000:2evxd0iw]Init[/color:2evxd0iw] with the included Buttons.\nOn Button-click, there are no white borders.\n\n[code=fw:2evxd0iw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">FUNCTION</span> main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">PUBLIC</span> c_path := CURDRIVE<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #ff0000;\">\":<span style=\"color: #000000;\">\\\"</span> + GETCURDIR() <br /><br />DEFINE WINDOW oWndMain ;<br />&nbsp; &nbsp; &nbsp; &nbsp; FROM 0, 0 TO WndHeight( GetDesktopWindow() ), ; //- fhTaskBar() )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WndWidth( ( GetDesktopWindow() ) ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; PIXEL ;<br />&nbsp; &nbsp; &nbsp; &nbsp; TITLE \"</span><span style=\"color: #0000ff;\">Button</span><span style=\"color: #ff0000;\">\";<br />&nbsp; &nbsp; &nbsp; &nbsp; STYLE nOR( WS_POPUP );<br />&nbsp; &nbsp; &nbsp; &nbsp; NOSYSMENU <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />ACTIVATE WINDOW &nbsp;oWndMain ;<br />ON INIT SHOW_BTN(oWndMain)<br /><br />Return NIL<br /><br />// -----------------<br /><br />FUNCTION SHOW_BTN(oWndMain)<br />LOCAL oBrush, oBtnA<br /><br />DEFINE BRUSH oBrush COLOR 0 // Black<br />SET BRUSH OF oWndMain TO oBrush<br />RELEASE BRUSH oBrush<br /><br />@ 10,10 BTNBMP oBtnA &nbsp;OF oWndMain FILENAME c_path + \"</span>\\<span style=\"color: #0000ff;\">Images</span>\\Button1.bmp<span style=\"color: #ff0000;\">\" SIZE &nbsp;80, 80 ;<br />CENTER PIXEL ADJUST NOBORDER<br />oBtnA:lTransparent := .T.<br /><br />RETURN NIL <br /></span></div>[/code:2evxd0iw]", "time": "19:36", "topic": "BtnBmp (SOLVED)", "username": "ukoenig" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "That made it with BtnBmp, thanks Uwe, and one more thanks for all the great tools you facilitate to this forum...", "time": "22:56", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-04", "forum": "FiveWin for Harbour/xHarbour", "text": "That Made it with the painting!!!\n\nBut is there any way to detect any changes in the control???\n\nFor Example, when the mouse is over it (lMOver becomes .T.), is there a way to detect this and run an action for it???\n\nWhat I will like to do is set a Text color for every state of the control : Normal, Mouse Over it and Button Pressed...\n\nWith SBUTTON I could acheive this by just setting the button COLORS like this:\n\n[code=fw:1ui5cw57]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">COLORS <span style=\"color: #000000;\">&#123;</span> |oBtnF| <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ! oBtnF:<span style=\"color: #000000;\">lActive</span>, CLR_WHITE, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oBtnF:<span style=\"color: #000000;\">lMouseOver</span>, CLR_HGREEN, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> oBtnF:<span style=\"color: #000000;\">lPressed</span>, CLR_HRED, CLR_WHITE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span></div>[/code:1ui5cw57]\n\nThanks for any help, because I have been looking in SOURCE\\CLASSES\\btnbmp.prg and can't find a way to doit automatically using SetColor()...", "time": "23:45", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-07", "forum": "FiveWin for Harbour/xHarbour", "text": "You can change the Button-textcolor on any other Control-action :\n\n[img:2tg87y05]http&#58;//www&#46;pflegeplus&#46;com/pictures/btncolor&#46;jpg[/img:2tg87y05]\n\n// --------------------\n\nFUNCTION SHOW_BTN(oWndMain)\n\n@ 200, 200 BTNBMP oBtnA OF oWndMain ;\nSIZE 80, 80 PIXEL ; \nNOBORDER ;\nADJUST ;\nPROMPT \"&Exit\" ;\nFILENAME c_path + \"\\Images\\Button1.Bmp\" ;\nACTION oWndMain:End() ;\nFONT oFont[2] ;\nCENTER\noBtnA:lTransparent := .t. \noBtnA:cToolTip = { \"Exit Dialog\",\"Exit\", 1, CLR_BLACK, 14089979 }\n[color=#0000FF:2tg87y05]oBtnA:SetColor( 16776960, )[/color:2tg87y05] // Startup\n\n// ------------------\n\nFrom the Explorerbar ( Mainwindow )\n( The Buttons [color=#0000FF:2tg87y05]oBtnA.., oBtnB..., [/color:2tg87y05]defined as STATIC )\n\noExBar = TExplorerBar():New(150, 0, 150, 830, oWndMain)\noPanel1 = oExBar:AddPanel( \"One\", c_path + \"\\Images\\people.bmp\" )\noPanel1:AddLink( \"First item\", { |o| [color=#0000FF:2tg87y05]oBtnA:SetColor( 65535, ), oBtnA:Refresh() [/color:2tg87y05]}, ;\nc_path + \"\\Images\\additem.bmp\")\noPanel1:AddLink( \"Second item\", { |o| [color=#0000FF:2tg87y05]oBtnA:SetColor( 11009871, ), oBtnA:Refresh()[/color:2tg87y05] }, ;\nc_path + \"\\Images\\copy.bmp\")\noPanel1:lSpecial = .T.\noPanel1:oFont := oFont[1] \n\nRETURN NIL \n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "15:20", "topic": "BtnBmp (SOLVED)", "username": "ukoenig" } ]
BtnBmp (SOLVED)
[ { "date": "2011-09-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Uwe for taking the time to answer, and sorry for not posting this message before, but I was able to get the changes that I needed by doing what I explain in the following post:\n\n[url:1nm8xziv]http&#58;//forums&#46;fivetechsupport&#46;com/viewtopic&#46;php?f=22&t=22328#p118911[/url:1nm8xziv]\n\nThanks for your help, your insight is always welcome!!!!", "time": "15:59", "topic": "BtnBmp (SOLVED)", "username": "Bayron" } ]
BtnBmp (SOLVED)
[ { "date": "2007-01-05", "forum": "FiveWin for Harbour/xHarbour", "text": "[code:31jkmdju]\nFOR nM &#58;= 1 TO 12\n cM &#58;= str0&#40;nM,2&#41;\n dDay &#58;= ctod&#40;'01&#46;'+cM+\"&#46;\"+cYear&#41;\n FOR nD &#58;= 1 TO 31\n aKolor &#58;= aKol&#40;nD,cKld&cM&#41;\n IF month&#40;dDay&#41;==nM\n oBtn1&#58;=tBtnBmp&#40;&#41;&#58;Redefine&#40;&#40;nM*1000&#41;+nD,,,,,,&#123;|| msgInfo&#40;KardSay&#40;focused_button_id&#41;&#41;&#125;,oDlg,,,,KardSay&#40;focused_button_id&#41;,str&#40;nD,2&#41;+\"&#58;\"+aTab&#91;dow&#40;dDay&#41;&#93;,oFont&#41;\n oBtn1&#58;SetColor&#40;aKolor&#91;1&#93;,aKolor&#91;2&#93;&#41;\n ENDIF\n dDay++\n NEXT\nNEXT\n\n[/code:31jkmdju]\n\noDlg is dialog with button for each day \naKol return different array of color fo every day of a weak\n\nI wish display info by using tooltip and msgInfo. How can i get id number of focused btnBmp?\n\nregards Eugeniusz", "time": "22:39", "topic": "BtnBmp - how to get id number of focused button?", "username": "Eugeniusz Owsiak" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Can you build a reduced and self-contained sample to experiment with?\n\nEMG", "time": "00:20", "topic": "BtnBmp - how to get id number of focused button?", "username": "Enrico Maria Giordano" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Eugeniusz,\n\nChange the variable focused_button_id into a function call:\n[code:ipkxqjxr]\nfunction focused_button_id&#40; oDlg &#41;\n\n local nAt &#58;= AScan&#40; oDlg&#58;aControls, &#123; | o | o&#58;lFocused &#125; &#41;\n\nreturn If&#40; nAt != 0, oDlg&#58;aControls&#91; nAt &#93;&#58;nId, 0 &#41;\n[/code:ipkxqjxr]", "time": "09:05", "topic": "BtnBmp - how to get id number of focused button?", "username": "Antonio Linares" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio\nas usualy Your help is great and every button reports now its id number.\nBut what i have to do to display this number as cTooltip (it display id=0)?\nregards Eugeniusz.", "time": "11:35", "topic": "BtnBmp - how to get id number of focused button?", "username": "Eugeniusz Owsiak" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Eugeniusz,\n\nDo you mean this ? In your loop:\n[code:2vtzqusu]\n oBtn1&#58;=tBtnBmp&#40;&#41;&#58;Redefine&#40;&#40;nM*1000&#41;+nD,,,,,,&#123;|| msgInfo&#40;KardSay&#40;focused_button_id&#41;&#41;&#125;,oDlg,,,,KardSay&#40;focused_button_id&#41;,str&#40;nD,2&#41;+\"&#58;\"+aTab&#91;dow&#40;dDay&#41;&#93;,oFont&#41; \n oBtn1&#58;SetColor&#40;aKolor&#91;1&#93;,aKolor&#91;2&#93;&#41; \n oBtn1&#58;cToolTip &#58;= Str&#40; oBtn1&#58;nId &#41;\n[/code:2vtzqusu]", "time": "12:51", "topic": "BtnBmp - how to get id number of focused button?", "username": "Antonio Linares" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes - second KardSay()\nEugeniusz", "time": "13:05", "topic": "BtnBmp - how to get id number of focused button?", "username": "Eugeniusz Owsiak" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Eugeniusz,\n\noBtn1:cToolTip := Str( oBtn1:nId )\n\nIs it ok ?", "time": "13:16", "topic": "BtnBmp - how to get id number of focused button?", "username": "Antonio Linares" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2007-01-08", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nYes, it works - it's to simple .\nThank You.\nEugeniusz", "time": "13:24", "topic": "BtnBmp - how to get id number of focused button?", "username": "Eugeniusz Owsiak" } ]
BtnBmp - how to get id number of focused button?
[ { "date": "2009-04-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Automatic support for Alpha Channel in bitmaps, rounded corners, much better text and image display, many enhancements. Many thanks to Master Daniel for his great help <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nPlease notice how the images have \"colored\" reflexes thanks to Alpha channel support:\n[img:2shqw9bd]http&#58;//img24&#46;imageshack&#46;us/img24/1935/65088789&#46;png[/img:2shqw9bd]", "time": "10:50", "topic": "BtnBmp 9.04 enhancements !", "username": "Antonio Linares" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr.Antonio,\n\nSuperb !!! Looks really great.\n\nRegards\n\nAnser", "time": "11:52", "topic": "BtnBmp 9.04 enhancements !", "username": "anserkk" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Great Job. I'm waiting to use it.\nDutch", "time": "03:27", "topic": "BtnBmp 9.04 enhancements !", "username": "dutch" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Would this mean ButtonBmp would also have this feature?", "time": "07:33", "topic": "BtnBmp 9.04 enhancements !", "username": "hua" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hua,\n\n> Would this mean ButtonBmp would also have this feature?\n\nYes! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "08:45", "topic": "BtnBmp 9.04 enhancements !", "username": "Antonio Linares" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Gret! <!-- s:) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":)\" title=\"Smile\" /><!-- s:) --> I always got confused between the two and not sure what the difference are.", "time": "09:37", "topic": "BtnBmp 9.04 enhancements !", "username": "hua" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Hua,\n\nClass TButtonBmp is based on Windows standard buttons, so it has Windows themes support.\n\nThey look like Windows buttons but use images. Now they can use Alpha channel bitmaps too! <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "12:26", "topic": "BtnBmp 9.04 enhancements !", "username": "Antonio Linares" } ]
BtnBmp 9.04 enhancements !
[ { "date": "2009-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Soporte automatico para canal Alpha en bitmaps, esquinas redondeadas, pintado mejorado de texto e imagen, muchas mejoras. Gracias al Maestro Daniel por su gran ayuda <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nFijaros en que las imágenes tienen reflejos \"coloreados\" gracias al soporte de Alpha channel:\n[img:20lsbcuv]http&#58;//img24&#46;imageshack&#46;us/img24/1935/65088789&#46;png[/img:20lsbcuv]", "time": "10:52", "topic": "BtnBmp 9.04 mejoras!", "username": "Antonio Linares" } ]
BtnBmp 9.04 mejoras!
[ { "date": "2009-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Antonio..\n\nLas mejoras son solo para la BtnBmp, o hay alguna otra clase mas incluida.. como la tBitmap, tImage...\nSeria genial usarlos en las tImageList, tRebar.. tendrias un gran cambio en cuanto a presentacion visual se refiere.. muy moderno, actual... como para competir con cualquier otro visual.\n\nSi es asi.... da por cierto que me actualizo inmediatamente a la 9.04, he estado esperando por algun \"cambio\" importante, y como se vienen 2 desarrollos grandes desde cero.. seria ideal.\n\nSaludos.\nDesde Chile \nAdolfo", "time": "13:46", "topic": "BtnBmp 9.04 mejoras!", "username": "Adolfo" } ]
BtnBmp 9.04 mejoras!
[ { "date": "2009-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Adolfo,\n\nDe momento solo en TBtnBmp. \n\nHay que publicar una versión 9.04 cuanto antes para que los ACTIVEX se usen bien con la nueva capacidad de usar objetos OleAuto, y que asi no haya que rehacer código.\n\nAparte de esos, hay más cambios importantes <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "15:16", "topic": "BtnBmp 9.04 mejoras!", "username": "Antonio Linares" } ]
BtnBmp 9.04 mejoras!
[ { "date": "2016-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "We know that by using the clause LEFT/RIGHT/TOP/BOTTOM while creating a bitmap, the prompt is aligned opposite to the bitmap.\n\nNow there is a way to make finer adjustments in the alignment of text, right/center/left by adding a space on left,right or both sides of the prompt\n\n[url=https&#58;//imageshack&#46;com/i/pmQH3nGQp:3a6foaft][img:3a6foaft]http&#58;//imagizer&#46;imageshack&#46;us/v2/xq90/922/QH3nGQ&#46;png[/img:3a6foaft][/url:3a6foaft]\n\n\"Prompt\" --> Default alignment\n\"Prompt \" --> Left Alignment\n\" Prompt\" --> Right Alignment\n\" Prompt \" --> Center (horizontally) Alignment.\n\nFollowing sample, demonstrates the usage.\n[code=fw:3a6foaft]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">function</span> BtnText1<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, oBtn, oFont<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-16</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">460</span>,<span style=\"color: #000000;\">460</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL <span style=\"color: #0000ff;\">FONT</span> oFont ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"BTNBMP TEXT ALIGNMENTS\"</span><br /><br />&nbsp; &nbsp;@ &nbsp;<span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\t</span>ask.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Default\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Alignment\"</span> <span style=\"color: #0000ff;\">LEFT</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>opy.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Left\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Alignment \"</span> <span style=\"color: #0000ff;\">LEFT</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">180</span>,<span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\p</span>aste.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Center\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Alignment \"</span> <span style=\"color: #0000ff;\">LEFT</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ &nbsp;<span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">240</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\t</span>ask.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Default\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Alignment\"</span> <span style=\"color: #0000ff;\">RIGHT</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">240</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>opy.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Right\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Alignment\"</span> <span style=\"color: #0000ff;\">RIGHT</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">180</span>,<span style=\"color: #000000;\">240</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\p</span>aste.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Center\"</span> + CRLF + <span style=\"color: #ff0000;\">\"Alignment \"</span> <span style=\"color: #0000ff;\">RIGHT</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">200</span>,<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">260</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\t</span>ask.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Left \"</span> TOP ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">260</span>,<span style=\"color: #000000;\">165</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>opy.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Default\"</span> TOP ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">260</span>,<span style=\"color: #000000;\">312</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\p</span>aste.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Right\"</span> TOP ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">360</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\t</span>ask.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Left \"</span> BOTTOM ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">360</span>,<span style=\"color: #000000;\">165</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\c</span>opy.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Default\"</span> BOTTOM ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">360</span>,<span style=\"color: #000000;\">312</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn FILE <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\p</span>aste.bmp\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" Right\"</span> BOTTOM ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">128</span>,<span style=\"color: #000000;\">80</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #000000;\">2007</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">RELEASE</span> <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br />&nbsp;</div>[/code:3a6foaft]", "time": "16:28", "topic": "BtnBmp : Text Alignments", "username": "nageswaragunupudi" } ]
BtnBmp : Text Alignments
[ { "date": "2016-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "I have been doing that for columns in xbrowse. Otherwise the column line may sit right next to the first letter making it difficult to read. It's easy to do and makes the appearance better.", "time": "17:28", "topic": "BtnBmp : Text Alignments", "username": "TimStone" } ]
BtnBmp : Text Alignments
[ { "date": "2016-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"TimStone\":2vm0dovy]I have been doing that for columns in xbrowse. Otherwise the column line may sit right next to the first letter making it difficult to read. It's easy to do and makes the appearance better.[/quote:2vm0dovy]\nDo you mean to say that the default margin we provide is not enough? Do you suggest we provide more margin on the left?\nIf you can please explain we see how we can provide a better and clearer presentation by default", "time": "17:38", "topic": "BtnBmp : Text Alignments", "username": "nageswaragunupudi" } ]
BtnBmp : Text Alignments
[ { "date": "2016-05-16", "forum": "FiveWin for Harbour/xHarbour", "text": "When we allow the columns to autosize, I found sometimes they would be tight on the headers and the first and/or last letters would not display cleanly.\n\nSo I added a space before and after each header, and it all worked perfectly.\n\nTim", "time": "17:51", "topic": "BtnBmp : Text Alignments", "username": "TimStone" } ]
BtnBmp : Text Alignments
[ { "date": "2011-09-05", "forum": "To do - WishList / Por hacer - Peticiones", "text": "Basically I want to have a Color of Text Set for events, similar to what cBmpFile1, cBmpFile2, cBmpFile3 and cBmpFile4 do, but even if only one Bmp file is set.\nThis way, if I set only one BMP, I still have the effect of something changing in the button when an event happens (Button Enabled, Mouse Over, Button Pressed, Button Disabled...\n\nI think METHOD SetColor( nClrText, nClrPane ) can be used for that effect....\n\nI am planning to Update some time the beginning of next year, but I will like to have something done before that, I think the class can be modified rather easily by some one with CLASS programming experience, I will try to do my self, but I don't want to corrupt the class, If someone can help, I think it may be of benefit for everyone.... Thanks!!!", "time": "23:49", "topic": "BtnBmp New DATA aPromptClrs", "username": "Bayron" } ]
BtnBmp New DATA aPromptClrs
[ { "date": "2011-09-06", "forum": "To do - WishList / Por hacer - Peticiones", "text": "I was able to obtain what I wanted, harcoding the following lines:\n\n[code=fw:2z8nxxor]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #000000;\">254</span>    ::<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nClrPane</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">357</span>   ::<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nClrPane</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">500</span>   ::<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nClrPane</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">1287</span>  <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hDC</span>,;<br /><br /><span style=\"color: #000000;\">1311</span>  <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span> , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED ,  <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hDC</span>,;<br /><br /><span style=\"color: #000000;\">1318</span>  nClr = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> IsWindowEnabled<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lDisColor</span>, CLR_HGRAY, ::<span style=\"color: #000000;\">nClrTextDis</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #000000;\">1172</span>  nClr = <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> IsWindowEnabled<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> !::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_BLACK , ::<span style=\"color: #000000;\">nClrText</span> := CLR_WHITE <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> <span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HRED , <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lCalcColor</span> = .t. , ::<span style=\"color: #000000;\">nClrText</span> := CLR_YELLOW , ::<span style=\"color: #000000;\">nClrText</span> := CLR_HGREEN <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lDisColor</span>, CLR_HGRAY , ::<span style=\"color: #000000;\">nClrTextDis</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:2z8nxxor]\n\n::lCalcColor is a DATA I added to have a diferent color for the button where ::lCalcColor = .t.\n\nIt looks great....\n[img:2z8nxxor]http&#58;//www&#46;mayapos&#46;com/FiveWin/boton4&#46;png[/img:2z8nxxor]\n\nI hope it will be SOFTCODED and included in a next Fivewin release before next year, something like\n\n[code=fw:2z8nxxor]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">@ <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn <span style=\"color: #0000ff;\">OF</span> oDialog FILENAME <span style=\"color: #ff0000;\">\"Boton.bmp\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Boton1\"</span> PROMPTCOLORS ColorActive, ColorMouseOver, ColorPressed, ColorDissabled <span style=\"color: #0000ff;\">FONT</span> oFont1<br /> </div>[/code:2z8nxxor]\n\nTHANKS FOR THAKING THIS UNTO CONSIDERATION...", "time": "19:54", "topic": "BtnBmp New DATA aPromptClrs", "username": "Bayron" } ]
BtnBmp New DATA aPromptClrs
[ { "date": "2012-06-23", "forum": "To do - WishList / Por hacer - Peticiones", "text": "Just in case it can be included in FiveWin, I made changes to btnbmp.prg FWH12.04\n[img:t9qlcu3b]http&#58;//www&#46;mayapos&#46;com/FiveWin/btnbmp&#46;png[/img:t9qlcu3b]\n\nNew Datas:\n\n[size=150:t9qlcu3b]nClrActive \nnClrMouseOver\nnClrPressed\nnClrDisabled[/size:t9qlcu3b]\n\nI sent you the modified class by e-mail...", "time": "04:37", "topic": "BtnBmp New DATA aPromptClrs", "username": "Bayron" } ]
BtnBmp New DATA aPromptClrs
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nJust testing 9.05 and have found that on some of my BtnBmps the word tBtnBmp is printed over the BMP - how do you turn this off? Is there a global setting? This seems to only happen on larger buttons that use the center clause\n\nThanks in advance\n\nPete", "time": "10:01", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Pete,\n\nI use 9.05 as well.\nWith my new buttontools, I can test all possible combinations :\nfrom Source, Resource, 2007 Style, Transparent, Border and no Border. \nBMP on left, top, bottom, right and centered.\nOn different backgrounds : colors, gradient, brushes and images.\nA center problem, I didn't notice.\n\n[img:ypub4tgx]http&#58;//www&#46;pflegeplus&#46;com/pictures/btntools31&#46;jpg[/img:ypub4tgx]\n\nTry a [color=#FF0000:ypub4tgx]empty[/color:ypub4tgx] Prompt.\n\n[code=fw:ypub4tgx]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />@ <span style=\"color: #000000;\">47</span>, <span style=\"color: #000000;\">73</span>  <span style=\"color: #0000ff;\">BTNBMP</span> oBtn5 <span style=\"color: #0000ff;\">OF</span> oDlg1 ;<br /><span style=\"color: #0000ff;\">SIZE</span> D_BUTTONH, D_BUTTONV ;<br />FILENAME c_path + <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\p</span>roject<span style=\"color: #000000;\">\\\"</span> + D_BUTTON2 ;<br />ACTION MsgAlert( \"</span>Button-<span style=\"color: #0000ff;\">Click</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">5</span><span style=\"color: #ff0000;\">\" ) ;<br />PROMPT \"</span><span style=\"color: #ff0000;\">\" ;    <br />FONT oButtFont ;<br />CENTER<br />oBtn5:lTransparent = .t.   <br />oBtn5:cTooltip := \"</span>Button5<span style=\"color: #ff0000;\">\"<br />oBtn5:SetColor( 9208556, )<br /></span></div>[/code:ypub4tgx]\n\nBest Resgards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "11:50", "topic": "BtnBmp Question", "username": "ukoenig" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Don't know if this makes a difference, but i am building the button from a resource using the following code:\n\n[code=fw:3mgngznq]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn89 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">225</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"AUDIT\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>ViewInvAudit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBtn89:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,p_rimeth:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> TOOLTIP <span style=\"color: #ff0000;\">\"Invoice Audit\"</span> <span style=\"color: #0000ff;\">CENTER</span></div>[/code:3mgngznq]\n\nThe button looks like this:\n\n[img:3mgngznq]http&#58;//img199&#46;imageshack&#46;us/img199/5332/audit&#46;png[/img:3mgngznq]", "time": "12:09", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Fixed - it's the prompt setting\n\n[code=fw:bkzk2cnu]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn89 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">225</span> <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"AUDIT\"</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>ViewInvAudit<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,oBtn89:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>,p_rimeth:<span style=\"color: #000000;\">SetFocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#41;</span> TOOLTIP <span style=\"color: #ff0000;\">\"Invoice Audit\"</span> <span style=\"color: #0000ff;\">CENTER</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"\"</span></div>[/code:bkzk2cnu]\n\nThis now removes the text. \n\nAntonio, is there any way that this could be modified so that if the prompt is not passed, the text does not appear?\n\nPete", "time": "12:13", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Pete,\n\nThe Test :\n\n[img:1teyk1yh]http&#58;//www&#46;pflegeplus&#46;com/pictures/btntools32&#46;jpg[/img:1teyk1yh]\n\nThe Code :\n\n[code=fw:1teyk1yh]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// Transparent-Style :</span><br /><span style=\"color: #B900B9;\">// -----------------------</span><br /><span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn5 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">210</span> <span style=\"color: #0000ff;\">OF</span> oDlg3 ;<br />FILENAME c_path + <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\p</span>roject<span style=\"color: #000000;\">\\\"</span> + D_BUTTON2 ;<br />ACTION MsgAlert( \"</span>Button-<span style=\"color: #0000ff;\">Click</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">5</span><span style=\"color: #ff0000;\">\" ) ;<br />PROMPT \"</span><span style=\"color: #ff0000;\">\" ;<br />FONT oButtFont ;<br />CENTER<br />oBtn5:lTransparent = .t. &nbsp; <br />oBtn5:cTooltip := \"</span>Button5<span style=\"color: #ff0000;\">\"<br />oBtn5:SetColor( 9208556, )<br /><br />// 2007 - Style :<br />// ----------------<br />REDEFINE BTNBMP oBtn5 ID 210 OF oDlg4 2007 ;<br />FILENAME c_path + \"</span>\\project\\<span style=\"color: #ff0000;\">\" + D_BUTTON2 ;<br />ACTION MsgAlert( \"</span>Button-<span style=\"color: #0000ff;\">Click</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">5</span><span style=\"color: #ff0000;\">\" ) ;<br />PROMPT \"</span><span style=\"color: #ff0000;\">\" ;<br />FONT oButtFont ;<br />CENTER<br />oBtn5:cTooltip := \"</span>Button5<span style=\"color: #ff0000;\">\"<br />oBtn5:SetColor( 9208556, )<br /></span></div>[/code:1teyk1yh]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "12:15", "topic": "BtnBmp Question", "username": "ukoenig" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\n\nWhat happens if you remove PROMPT \"\" - do you get the same problem as i have?\n\nPete", "time": "12:40", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Think i've got it now!!\n\nIn my RC, the caption property for my button had tBtnBmp in it - if i remove that, the text does not appear. Previous versions of FW must have ignored this information.\n\nPete", "time": "12:54", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Pete,\n\nWe are going to review it, thanks for your feedback <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "14:03", "topic": "BtnBmp Question", "username": "Antonio Linares" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nThinking about it, the way it is working is probably the way it should work. For example, if a text string/field/say is defined in the RC file and you don't redefine the say, the text appears as it is entered in the resource - maybe thats the way btnbmp should work? \n\nRegards,\n\nPete", "time": "14:13", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2009-06-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Pete,\n\ndo You have a solution for transparent Button-Bmp on a image-background ?\nI tested all solutions : Colors, Gradients, Styles, Brushes are working.\nWith a Image-background, transparent doesn't work ( tested from source and resource ).\nI want to use empty transparent buttons as hotspot-areas.\n\n[img:30mxpcz4]http&#58;//www&#46;pflegeplus&#46;com/pictures/transbutt1&#46;jpg[/img:30mxpcz4]\n\n[code=fw:30mxpcz4]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />...<br />...<br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg1 <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">400</span>, <span style=\"color: #000000;\">600</span> <span style=\"color: #0000ff;\">of</span> oWnd <span style=\"color: #0000ff;\">FONT</span> oDlgFont ;<br /><span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Buttons from Source Transparent\"</span> TRANSPARENT<br />...<br />...<br /><span style=\"color: #B900B9;\">// -----  Transparent button with NOBORDER ---------</span><br /><br />@ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">4</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn1 <span style=\"color: #0000ff;\">OF</span> oDlg1 ;<br /><span style=\"color: #0000ff;\">SIZE</span> D_BUTTONH, D_BUTTONV ;<br />NOBORDER ;<br />FILENAME c_path + <span style=\"color: #ff0000;\">\"<span style=\"color: #000000;\">\\p</span>roject<span style=\"color: #000000;\">\\\"</span> + D_BUTTON1 ;<br />ACTION MsgAlert( \"</span>Button-<span style=\"color: #0000ff;\">Click</span><span style=\"color: #ff0000;\">\", \"</span><span style=\"color: #0000ff;\">Button</span> <span style=\"color: #000000;\">1</span><span style=\"color: #ff0000;\">\" ) ;<br />PROMPT \"</span>But<span style=\"color: #000000;\">.1</span><span style=\"color: #ff0000;\">\" ;<br />FONT oButtFont ;<br />RIGHT <br />oBtn1:lTransparent = .t.   <br />oBtn1:cTooltip := \"</span>Button1<span style=\"color: #ff0000;\">\"<br />...<br />...<br />ACTIVATE DIALOG oDlg1 CENTERED NOWAIT ;<br />ON INIT oDlg1:Move( 100, 20, 430, 290, .f. ) ;<br />ON PAINT DL_IMAGE( hDC, oDlg1 )<br /><br />RETURN NIL<br /><br />//------------- IMAGE - Background -------------------- <br /><br />FUNCTION DL_IMAGE( hDC, oDlg ) <br />LOCAL oImage<br /><br />LOCAL nWidth  := oDlg:nWidth()<br />LOCAL nHeight := oDlg:nHeight()<br /><br />DEFINE IMAGE oImage1 FILE c_path + \"</span>\\project\\<span style=\"color: #ff0000;\">\" + D_LOGO <br />PalBmpDraw( hDC, 0, 0, oImage1:hBitmap, , nWIDTH, nHEIGHT, , .T. ) <br /><br />RETURN NIL<br /></span></div>[/code:30mxpcz4]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "20:45", "topic": "BtnBmp Question", "username": "ukoenig" } ]
BtnBmp Question
[ { "date": "2009-06-12", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Uwe,\n\nI don't use transparent button-bmp - did you mean to ask the question to Antonio?\n\nRegards,\n\nPete", "time": "11:42", "topic": "BtnBmp Question", "username": "PeterHarmes" } ]
BtnBmp Question
[ { "date": "2018-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "I wish Open a PopupMenu on Btnbmp I tried with \n\n:bRClicked := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }\n\nand \n\n:bAction := { | nRow, nCol, oBtn | ShowActions( nRow, nCol,n, oBtn ) }\n\nBut it make error \n\n[code=fw:2jugmeab]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; <span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">70</span><br />&nbsp; &nbsp; &nbsp; @ nRow, nCol <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span> .....<br />&nbsp;WITH OBJECT aBtn<span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">Cargo</span> &nbsp; &nbsp; &nbsp;:= n<br />:<span style=\"color: #000000;\">bRClicked</span> := <span style=\"color: #000000;\">&#123;</span> | nRow, nCol, oBtn | ShowActions<span style=\"color: #000000;\">&#40;</span> nRow, nCol,n, oBtn <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp;END<br />.....<br /><span style=\"color: #00C800;\">Function</span> ShowActions<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">Local</span> oMenuPopup<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MENU</span> <span style=\"color: #0000ff;\">POPUP</span> oMenuPopup<br />&nbsp; <span style=\"color: #0000ff;\">MenuItem</span> <span style=\"color: #ff0000;\">\"aaaaaaaaaaaa\"</span><br />&nbsp; <span style=\"color: #0000ff;\">MenuItem</span> <span style=\"color: #ff0000;\">\"bbbbbbbbbbbbb\"</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ENDMENU</span><br />&nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenuPopup &nbsp;<span style=\"color: #0000ff;\">of</span> oControl <span style=\"color: #00C800;\">AT</span> nrow, ncol<br /><span style=\"color: #00C800;\">Return</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:2jugmeab]\n\nAny solution Please", "time": "14:34", "topic": "BtnBmp and PopupMenu", "username": "Silvio.Falconi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "What error ?", "time": "15:17", "topic": "BtnBmp and PopupMenu", "username": "cnavarro" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "with baction I not see the menupopup\nwith :bRClicked I Have this error \n[code=fw:nde5ai7h]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">Application<br />===========<br />   Path and <span style=\"color: #0000ff;\">name</span>: <span style=\"color: #000000;\">C</span>:\\Work\\Errori\\image_su_btnbmp\\test.Exe <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span> bits<span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #0000ff;\">Size</span>: <span style=\"color: #000000;\">3</span>,<span style=\"color: #000000;\">655</span>,<span style=\"color: #000000;\">168</span> bytes<br />   Compiler version: <span style=\"color: #000000;\">Harbour</span> <span style=\"color: #000000;\">3.2</span>.0dev <span style=\"color: #000000;\">&#40;</span>r1703231115<span style=\"color: #000000;\">&#41;</span><br />   FiveWin  version: <span style=\"color: #000000;\">FWH</span> <span style=\"color: #000000;\">17.12</span><br />   C compiler version: <span style=\"color: #000000;\">Borland</span>/Embarcadero C++ <span style=\"color: #000000;\">7.0</span> <span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">32</span>-bit<span style=\"color: #000000;\">&#41;</span><br />   Windows version: <span style=\"color: #000000;\">6.2</span>, Build <span style=\"color: #000000;\">9200</span> <br /><br />   Time <span style=\"color: #0000ff;\">from</span> start: <span style=\"color: #000000;\">0</span> hours <span style=\"color: #000000;\">0</span> mins <span style=\"color: #000000;\">3</span> secs <br />   Error occurred <span style=\"color: #00C800;\">at</span>: <span style=\"color: #000000;\">21</span><span style=\"color: #000000;\">-06</span><span style=\"color: #000000;\">-2018</span>, <span style=\"color: #000000;\">16</span>:<span style=\"color: #000000;\">26</span>:<span style=\"color: #000000;\">13</span><br />   Error description: <span style=\"color: #000000;\">Error</span> BASE/<span style=\"color: #000000;\">1004</span>  No exported <span style=\"color: #00C800;\">method</span>: <span style=\"color: #000000;\">HWND</span><br />   Args:<br />     <span style=\"color: #000000;\">&#91;</span>   <span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span> = N   <span style=\"color: #000000;\">2</span><br /><br />Stack Calls<br />===========<br />   Called <span style=\"color: #0000ff;\">from</span>:  => HWND<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">MENU</span>.PRG => TMENU:<span style=\"color: #0000ff;\">ACTIVATE</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1568</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">test</span>.prg => SHOWACTIONS<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">121</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: <span style=\"color: #000000;\">test</span>.prg => <span style=\"color: #000000;\">&#40;</span>b<span style=\"color: #000000;\">&#41;</span>SHOW_BEACH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">66</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">RBUTTONDOWN</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">2018</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => TWINDOW:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\CONTROL.PRG => TCONTROL:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1731</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">BTNBMP</span>.PRG => TBTNBMP:<span style=\"color: #000000;\">HANDLEEVENT</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">1883</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">WINDOW</span>.PRG => _FWH<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">3356</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>:  => DIALOGBOXINDIRECT<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />   Called <span style=\"color: #0000ff;\">from</span>: .\\source\\classes\\<span style=\"color: #0000ff;\">DIALOG</span>.PRG</div>[/code:nde5ai7h]", "time": "15:27", "topic": "BtnBmp and PopupMenu", "username": "Silvio.Falconi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Now I tried with\n\n[code=fw:bewglwas]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp;<span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">10</span><br />&nbsp; &nbsp; &nbsp; @ nRow, nCol <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span> &nbsp;<span style=\"color: #0000ff;\">RESOURCE</span> OMB_LIBERO &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">84</span>,<span style=\"color: #000000;\">64</span> <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">OF</span> oDlg FLAT TOP <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE,CLR_GREEN NOBORDER <br /><br />WITH OBJECT aBtn<span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">Cargo</span> &nbsp; &nbsp; &nbsp;:= n <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;:<span style=\"color: #000000;\">bRClicked</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> | nRow, nCol, oBtn | EseguiButton<span style=\"color: #000000;\">&#40;</span>nrow, ncol, n, oBtn<span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;END<br />&nbsp;<span style=\"color: #00C800;\">next</span> n<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> EseguiButton<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">&#123;</span> |n| Menu_popup<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span> &nbsp;<span style=\"color: #000000;\">&#125;</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Menu_Popup<span style=\"color: #000000;\">&#40;</span> nrow, ncol, n, oControl <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">Local</span> oMenuPop<br />&nbsp; <span style=\"color: #0000ff;\">MENU</span> oMenuPop <span style=\"color: #0000ff;\">POPUP</span> <span style=\"color: #000000;\">2015</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Apri \"</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">MENUITEM</span> <span style=\"color: #ff0000;\">\"Apri \"</span><br /><br />&nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">POPUP</span> oMenuPop <span style=\"color: #0000ff;\">OF</span> oControl <span style=\"color: #00C800;\">AT</span> nrow, ncol<br />&nbsp;oControl:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp;<span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:bewglwas]\n\nbut not make error and not show the menu popup", "time": "16:18", "topic": "BtnBmp and PopupMenu", "username": "Silvio.Falconi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Please, search for \"detached locals technicque\", in forum\nIt is very possible that this is the problem", "time": "18:42", "topic": "BtnBmp and PopupMenu", "username": "cnavarro" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "???????", "time": "12:02", "topic": "BtnBmp and PopupMenu", "username": "Silvio.Falconi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-22", "forum": "FiveWin for Harbour/xHarbour", "text": "First please implement a small fix in btnbmp.prg.\nLocate the following lines in the method ShowPopUp()\n[code=fw:3lzhzp8a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">      <span style=\"color: #00C800;\">if</span> GetClassName<span style=\"color: #000000;\">&#40;</span> GetParent<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #ff0000;\">\"TBAR\"</span><br />         oWnd = oWndFromhWnd<span style=\"color: #000000;\">&#40;</span> GetParent<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">Self</span>:<span style=\"color: #000000;\">hWnd</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">endif</span><br /> </div>[/code:3lzhzp8a]\nComment out all the 3 lines above.\n\nNext, please try this program:\n[code=fw:3lzhzp8a]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><br /><span style=\"color: #00C800;\">function</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />   <span style=\"color: #00C800;\">local</span> oDlg, oFont, aBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#93;</span><br />   <span style=\"color: #00C800;\">local</span> aBmp := <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"attach.bmp\"</span>, <span style=\"color: #ff0000;\">\"browse.bmp\"</span>, <span style=\"color: #ff0000;\">\"calc.bmp\"</span>, <span style=\"color: #ff0000;\">\"cascade.bmp\"</span>, <span style=\"color: #ff0000;\">\"copy.bmp\"</span> <span style=\"color: #000000;\">&#125;</span><br />   <span style=\"color: #00C800;\">local</span> n, nRow, nCol<br /><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"TAHOMA\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">-14</span><br />   <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">700</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">PIXEL</span> TRUEPIXEL <span style=\"color: #0000ff;\">FONT</span> oFont<br /><br />   nRow  :=  <span style=\"color: #000000;\">40</span><br />   nCol  :=  <span style=\"color: #000000;\">40</span><br /><br />   <span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">5</span><br />      @ nRow, nCol <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span> FILE <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\\"</span> + aBmp[ n ] ;<br />         PROMPT NtoCMonth( n ) ;<br />         SIZE 100,100 PIXEL OF oDlg TOP FLAT COLOR CLR_WHITE,CLR_GREEN NOBORDER ACTION ::ShowPopup()<br /><br />      aBtn[ n ]:Cargo   := n<br />      aBtn[ n ]:oPopUp  := { |oBtn| BtnPopMenu( oBtn ) }<br /><br />      nCol  += 120<br />   next<br /><br />   ACTIVATE DIALOG oDlg CENTERED<br />   RELEASE FONT oFont<br /><br />return nil<br /><br />function BtnPopMenu( oBtn )<br /><br />   local oPop<br />   local n<br /><br />   MENU oPop POPUP 2007<br />   for n := oBtn:Cargo + 1 to 12<br />      MENUITEM NToCMonth( n )<br />   next<br />   ENDMENU<br /><br />return oPop<br /></span></div>[/code:3lzhzp8a]\n\n[url=https&#58;//imageshack&#46;com/i/pnWP4rFbp:3lzhzp8a][img:3lzhzp8a]https&#58;//imagizer&#46;imageshack&#46;com/v2/xq90/923/WP4rFb&#46;png[/img:3lzhzp8a][/url:3lzhzp8a]", "time": "14:17", "topic": "BtnBmp and PopupMenu", "username": "nageswaragunupudi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank \ncan we erase or not show the part where is the black Arrow ?", "time": "10:53", "topic": "BtnBmp and PopupMenu", "username": "Silvio.Falconi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Please make this modification\n[code=fw:31ljc1n2]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; <span style=\"color: #00C800;\">for</span> n := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp; @ nRow, nCol <span style=\"color: #0000ff;\">BTNBMP</span> aBtn<span style=\"color: #000000;\">&#91;</span> n <span style=\"color: #000000;\">&#93;</span> FILE <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\3</span>2x32<span style=\"color: #000000;\">\\\"</span> + aBmp[ n ] ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PROMPT NtoCMonth( n ) ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SIZE 100,100 PIXEL OF oDlg TOP FLAT COLOR CLR_WHITE,CLR_GREEN NOBORDER ; // ACTION ::ShowPopup()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ACTION ( ::oPopup := { |oBtn| BtnPopMenu( oBtn ) }, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::ShowPopUp(), ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::oPopup := nil )<br /><br />&nbsp; &nbsp; &nbsp; aBtn[ n ]:Cargo &nbsp; := n<br />// &nbsp; &nbsp; &nbsp;aBtn[ n ]:oPopUp &nbsp;:= { |oBtn| BtnPopMenu( oBtn ) }<br /><br />&nbsp; &nbsp; &nbsp; nCol &nbsp;+= 120<br />&nbsp; &nbsp;next<br /></span></div>[/code:31ljc1n2]", "time": "12:50", "topic": "BtnBmp and PopupMenu", "username": "nageswaragunupudi" } ]
BtnBmp and PopupMenu
[ { "date": "2018-06-23", "forum": "FiveWin for Harbour/xHarbour", "text": "then when It show the menu it create the part with black arrow \non oldest release of my prg it not is showed \nwhen I click on btnbmp it open a popupmenu near the btnbmp and I not see the part with black arrow \nfor my advice the black arrow can be usefull ony on a tbar control\n\n[b:1slwa452]for now I resolved [/b:1slwa452] with rem on METHOD PaintPopupSection()\non future we can apologize a logic variable to show or not the popupsection when the btnbmp is not on tbar\n\n\n[img:1slwa452]https&#58;//s8&#46;postimg&#46;cc/4ff0ggpsl/image&#46;png[/img:1slwa452]\n\n\nWe suggest \n\n if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = \"TBAR\"", "time": "16:34", "topic": "BtnBmp and PopupMenu", "username": "Silvio.Falconi" } ]
BtnBmp and PopupMenu
[ { "date": "2023-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[img:28j7pp6g]https&#58;//mybergland&#46;com/fwforum/mybtn&#46;jpg[/img:28j7pp6g]\n\nHello friends,\n\nI have expanded the TBtnBmp.\nNow, when I insert a PopupMenu, I can select the width of the clickable area and use a bitmap instead of the PolyPolygon.\nBest regards,\nOtto\n\n\n[code=fw:28j7pp6g]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00C800;\">METHOD</span> PaintPopupSection<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #00C800;\">CLASS</span> TBtnBmp<br /><br />   <span style=\"color: #00C800;\">local</span> nWidth, nHeight, hDC<br />   <span style=\"color: #00C800;\">local</span> hBlackBrush, hOldBrush<br />   <span style=\"color: #00C800;\">local</span> hDarkPen, hLightPen, hOldPen<br />    <br />    <br />   <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oPopup</span> != <span style=\"color: #00C800;\">nil</span><br />      nHeight = ::<span style=\"color: #000000;\">nHeight</span><br />      nWidth  = ::<span style=\"color: #000000;\">nWidth</span> <br />      hDC     = ::<span style=\"color: #000000;\">hDC</span><br />      <br />      <br />      hBlackBrush = GetStockObject<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span>  <span style=\"color: #B900B9;\">//4</span><br />      hOldBrush   = SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hBlackBrush <span style=\"color: #000000;\">&#41;</span><br />   <br />      FW_DrawImage<span style=\"color: #000000;\">&#40;</span> hDC, <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\a</span>lphabmp<span style=\"color: #000000;\">\\i</span>chat.bmp\"</span>, <span style=\"color: #000000;\">&#123;</span>::<span style=\"color: #000000;\">nHeight</span><span style=\"color: #000000;\">-30</span>, ::<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">-25</span>, ::<span style=\"color: #000000;\">nHeight</span> - <span style=\"color: #000000;\">10</span>, ::<span style=\"color: #000000;\">nWidth</span><span style=\"color: #000000;\">-5</span><span style=\"color: #000000;\">&#125;</span>, .t. <span style=\"color: #000000;\">&#41;</span><br />   <br />      <br />     <span style=\"color: #B900B9;\">/* <br />      PolyPolygon( hDC, { { nWidth - ::nWPop + If( ::lPressed, 1, 0 ),;<br />         nHeight / 2 - 1 + If( ::lPressed, 1, 0 ) },;<br />         { nWidth - 7 + If( ::lPressed, 1, 0 ), nHeight / 2 + 1 + ;<br />           If( ::lPressed, 1, 0 ) },;<br />         { nWidth - 5 + If( ::lPressed, 1, 0 ), nHeight / 2 - 1 + ;<br />           If( ::lPressed, 1, 0 ) },;<br />         { nWidth - ::nWPop + If( ::lPressed, 1, 0 ), nHeight / 2 - 1 + ;<br />           If( ::lPressed, 1, 0 ) } } )<br />*/</span><br /><br /><br /><br />      <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">lBorder</span> .or. ::<span style=\"color: #000000;\">lPressed</span> .or. ::<span style=\"color: #000000;\">lMOver</span><br />         hDarkPen  = CreatePen<span style=\"color: #000000;\">&#40;</span> PS_SOLID, <span style=\"color: #000000;\">1</span>, GetSysColor<span style=\"color: #000000;\">&#40;</span> COLOR_BTNSHADOW <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />         hLightPen = CreatePen<span style=\"color: #000000;\">&#40;</span> PS_SOLID, <span style=\"color: #000000;\">1</span>, GetSysColor<span style=\"color: #000000;\">&#40;</span> COLOR_BTNHIGHLIGHT <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />         hOldPen = SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hLightPen <span style=\"color: #000000;\">&#41;</span><br />         MoveTo<span style=\"color: #000000;\">&#40;</span> hDC, nWidth - <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWPop</span> + <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />         LineTo<span style=\"color: #000000;\">&#40;</span> hDC, nWidth - <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWPop</span> + <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nHeight - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />         SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hDarkPen <span style=\"color: #000000;\">&#41;</span><br />         MoveTo<span style=\"color: #000000;\">&#40;</span> hDC, nWidth - <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWPop</span> + <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />         LineTo<span style=\"color: #000000;\">&#40;</span> hDC, nWidth - <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nWPop</span> + <span style=\"color: #000000;\">4</span> <span style=\"color: #000000;\">&#41;</span> + <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lPressed</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>, nHeight - <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#41;</span><br />         SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hOldPen <span style=\"color: #000000;\">&#41;</span><br />         DeleteObject<span style=\"color: #000000;\">&#40;</span> hDarkPen <span style=\"color: #000000;\">&#41;</span><br />         DeleteObject<span style=\"color: #000000;\">&#40;</span> hLightPen <span style=\"color: #000000;\">&#41;</span><br />      <span style=\"color: #00C800;\">endif</span><br /><br />      SelectObject<span style=\"color: #000000;\">&#40;</span> hDC, hOldBrush <span style=\"color: #000000;\">&#41;</span><br />      DeleteObject<span style=\"color: #000000;\">&#40;</span> hBlackBrush <span style=\"color: #000000;\">&#41;</span><br />      <br />   <span style=\"color: #00C800;\">endif</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span><br /><br /><span style=\"color: #B900B9;\">//----------------------------------------------------------------------------//</span><br /><br /><br /> </div>[/code:28j7pp6g]", "time": "08:57", "topic": "BtnBmp and oPopup", "username": "Otto" } ]
BtnBmp and oPopup
[ { "date": "2023-06-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Otto,\n\nthank you for sharing it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "11:12", "topic": "BtnBmp and oPopup", "username": "Antonio Linares" } ]
BtnBmp and oPopup
[ { "date": "2023-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": ">FW_DrawImage( hDC, \"c:\\fwh\\bitmaps\\alphabmp\\ichat.bmp\", {::nHeight-30, ::nWidth-25, ::nHeight - 10, ::nWidth-5}, .t. )\n\nfor me it's no good\n\nperhaps...\n\n[code=fw:1lb2wu73]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">data</span> hBmpPop</div>[/code:1lb2wu73]\n\non METHOD Paint() CLASS TBtnBmp\n\n[code=fw:1lb2wu73]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oPopup</span> != <span style=\"color: #00C800;\">nil</span><br /> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">hBmpPop</span> != <span style=\"color: #000000;\">0</span><br />        DrawBitmap<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, ::<span style=\"color: #000000;\">hBmpPop</span>, aRect<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">+5</span>, aRect<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span><span style=\"color: #000000;\">-15</span> <span style=\"color: #000000;\">&#41;</span><br />            <span style=\"color: #00C800;\">else</span><br />   ::<span style=\"color: #000000;\">PaintPopupSection</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">endif</span><br /><span style=\"color: #00C800;\">endif</span></div>[/code:1lb2wu73]\n\n\n[b:1lb2wu73]instead of[/b:1lb2wu73]\n\n[code=fw:1lb2wu73]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> <span style=\"color: #00C800;\">if</span> ::<span style=\"color: #000000;\">oPopup</span> != <span style=\"color: #00C800;\">nil</span><br />      ::<span style=\"color: #000000;\">PaintPopupSection</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />   <span style=\"color: #00C800;\">endif</span></div>[/code:1lb2wu73]\n\n\nbut before we must load ::hBmpPop on New method\n\n [code=fw:1lb2wu73]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">::<span style=\"color: #000000;\">hBmpPop</span>      := ::<span style=\"color: #000000;\">LoadBmp</span><span style=\"color: #000000;\">&#40;</span> cBtnPop <span style=\"color: #000000;\">&#41;</span></div>[/code:1lb2wu73]\n\n\nSee on my class TBtnClr how I made", "time": "09:36", "topic": "BtnBmp and oPopup", "username": "Silvio.Falconi" } ]
BtnBmp and oPopup
[ { "date": "2023-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "I agree with Silvio, it wasn't good.\n\nEstoy de acuerdo con Silvio, no fue bueno.\n\nRegards, saludos.", "time": "13:18", "topic": "BtnBmp and oPopup", "username": "karinha" } ]
BtnBmp and oPopup
[ { "date": "2023-06-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\nThat was just a suggestion.\nHere we need new data variables.\n\nThen everyone can load the ICON they want.\n\nAgain, it should only serve as a suggestion to extend the class.\n\nIt's like comparing apples and oranges to modify a class for personal use or to make it universally applicable. I can only do the former.\n\nBest regards,\nOtto", "time": "13:25", "topic": "BtnBmp and oPopup", "username": "Otto" } ]
BtnBmp and oPopup
[ { "date": "2008-12-02", "forum": "FiveWin for Harbour/xHarbour", "text": "To All\r\n\r\nI have noticed with 810 and 811 that the caption on a BtnBmp by default is now located at the BOTTOM of the button .. Previously it was centered in the button ..\r\n\r\nIs there a new clause to 'center' the caption ??\r\n\r\nRick Lipkin\r\n\r\n\r\n[code:2norjv50]REDEFINE BTNBMP oBTN9 PROMPT cADPROMPT ID 128 of oEMPL[/code:2norjv50]", "time": "21:26", "topic": "BtnBmp caption", "username": "Rick Lipkin" } ]
BtnBmp caption
[ { "date": "2008-12-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Use the recurse editor... propiedad ESTYLE - ALINEADO VERTICAL (center, left, right, bottom)\r\n\r\nExcuseme my english... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "06:46", "topic": "BtnBmp caption", "username": "joseluisysturiz" } ]
BtnBmp caption
[ { "date": "2010-10-14", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi.\n\nOn a BtnBmp I have what it seems to be like the word \"SerDefine\" written over the bmp-button. This must be do to a change on the btnbmp class for I did not have this problem before. Furthermore my btnbmps are no longer transparent. See image:\n\n[img:1freflm1]http&#58;//ssfl&#46;dynalias&#46;com/temp_files/2010-10-14_1245&#46;png[/img:1freflm1]\n\nHow do I get rid of \"SerDefine\" and make my btnbmp transparent again?\n\n\nReinaldo.", "time": "17:47", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok. I found the source of the \"selfdefine\" text that was painting on top of the btnbmp.\n\nBut so far I haven't figure out why the btnbmp isn't transparent. Look a the exit door above. Notice the gradient is not being applied to its background.\n\noh- and another thing is that the btnbmp is now \"raised\". With my previous fwh version it wasn't.\n\nI'm especially concern about the btnbmp not being transparent.\n\nAny ideas?\n\n\nReinaldo.", "time": "00:20", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nI suspect this and the dialog flickering are both due to changes made to try to handle tranparency and themes. See this thread:\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=19966\">viewtopic.php?f=3&t=19966</a><!-- l -->\n\nThere are 18 possible combinations that need to be tested and resolved if needed.\n\nRegards,\nJames", "time": "01:28", "topic": "BtnBmp changed behavior?", "username": "James Bott" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "James;\n\nI think my emails are not reaching you. Can you write to me so that I can reply? reinaldo dot crespo\n\nat gmail of course.\n\nReinaldo.", "time": "01:43", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nI have the same email address I have always had (since the 80's)-- [jbott at compuserve dot com]. I can also be reached at [jbott at gointellitech dot com].\n\nI did find one email from you that I missed and I have responded. Did you send others?\n\nRegards,\nJames", "time": "02:01", "topic": "BtnBmp changed behavior?", "username": "James Bott" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nPlease post here the RC for that dialog, the source code that you use for it and the bitmaps, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "07:56", "topic": "BtnBmp changed behavior?", "username": "Antonio Linares" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio;\n\nHi. \n\nFirst this is the code:\n[code=fw:14hsld8j]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aoBtns<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">301</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Save32\"</span> TOOLTIP <span style=\"color: #ff0000;\">\"Save to Disk\"</span> NOBORDER ;<br />        <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span>!empty<span style=\"color: #000000;\">&#40;</span> odbf:<span style=\"color: #000000;\">VarType</span> <span style=\"color: #000000;\">&#41;</span> .or. !NoBlankRecord<span style=\"color: #000000;\">&#40;</span> odbf, <span style=\"color: #ff0000;\">\"Type\"</span> <span style=\"color: #000000;\">&#41;</span> .or. !odbf:<span style=\"color: #000000;\">isadd</span><span style=\"color: #000000;\">&#41;</span> .and. ;<br />            <span style=\"color: #000000;\">&#40;</span> iif<span style=\"color: #000000;\">&#40;</span> odbf:<span style=\"color: #000000;\">IsAdd</span>, odbf:<span style=\"color: #000000;\">append</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span>,        ;<br />            odbf:<span style=\"color: #000000;\">save</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, odbf:<span style=\"color: #000000;\">IsAdd</span> := .f., .t. <span style=\"color: #000000;\">&#41;</span>,  ;<br />            obrw:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, odlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> aoBtns<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">302</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"Exit32\"</span> TOOLTIP <span style=\"color: #ff0000;\">\"Exit\"</span> NOBORDER <span style=\"color: #0000ff;\">ACTION</span> odlg:<span style=\"color: #000000;\">end</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />    aeval<span style=\"color: #000000;\">&#40;</span> aoBtns, <span style=\"color: #000000;\">&#123;</span> |e| e:<span style=\"color: #000000;\">ltransparent</span> := .t., e:<span style=\"color: #000000;\">oCursor</span> := ocursor <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /> </div>[/code:14hsld8j]\n\nExit32.bmp is here:\n[url:14hsld8j]http&#58;//ssfl&#46;dynalias&#46;com/temp_files/exit32&#46;bmp[/url:14hsld8j]\n\nSave32.bmp is here:\n[url:14hsld8j]http&#58;//ssfl&#46;dynalias&#46;com/temp_files/save32&#46;bmp[/url:14hsld8j]\n\nThis is a screenshot of the app built using an older fwh + bcc55 + xharb 0.99.6. Notice the bmps are transparent.\n[img:14hsld8j]http&#58;//ssfl&#46;dynalias&#46;com/temp_files/2010-10-15_1536&#46;png[/img:14hsld8j]\n\nThis is a screenshot of the app built using current fwh + bcc582 + xharb 1.2.1_6741. Look at the exit door. \n[img:14hsld8j]http&#58;//ssfl&#46;dynalias&#46;com/temp_files/2010-10-15_1548&#46;png[/img:14hsld8j]\n\nFurthermore, when you place the cursor just over the btnbmp, on the newer version the button raises with a 3dlook. Not good especially when you have btnbmps that are not squared. TsButtons are working perfectly. The problem is only with btnbmps.\n\n\nThank you for your help.\n\n\nReinaldo.", "time": "20:46", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-15", "forum": "FiveWin for Harbour/xHarbour", "text": "One of the things I had to do was change all of my buttons in the rc to Owner Draw or use the TBtnBmp add in control for Borland workshop.", "time": "23:46", "topic": "BtnBmp changed behavior?", "username": "Gale FORd" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hey Gale;\n\nThank you.\n\nI have a college buddy in Houston. \n\nIs that the Dialog or the btnbmp control that I should change to owner draw? \n\nI'm using Resource Builder to manage resources. Can't find an owner draw property.... ?\n\nReinaldo.", "time": "00:02", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nPlease post the RC section for that dialog box, thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "07:43", "topic": "BtnBmp changed behavior?", "username": "Antonio Linares" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi. \n\nThe RC section for the dialog is:\n[code=fw:3kb00abf]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">REVENUECODES <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">6</span>, <span style=\"color: #000000;\">15</span>, <span style=\"color: #000000;\">225</span>, <span style=\"color: #000000;\">150</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_SETFONT |DS_MODALFRAME |WS_OVERLAPPED |WS_VISIBLE |WS_CAPTION <br />CAPTION <span style=\"color: #ff0000;\">\"Revenue Code Detail\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span><br />LANGUAGE LANG_NEUTRAL, <span style=\"color: #000000;\">0</span><br />BEGIN<br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">502</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_BLACKFRAME |WS_CHILD |WS_VISIBLE ,<span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">5</span>,<span style=\"color: #000000;\">212</span>,<span style=\"color: #000000;\">100</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">101</span>,<span style=\"color: #ff0000;\">\"EDIT\"</span>,ES_NOHIDESEL |ES_LEFT |WS_CHILD |WS_BORDER |WS_TABSTOP ,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">15</span>,<span style=\"color: #000000;\">36</span>,<span style=\"color: #000000;\">12</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">102</span>,<span style=\"color: #ff0000;\">\"EDIT\"</span>,ES_NOHIDESEL |ES_LEFT |WS_CHILD |WS_BORDER |WS_TABSTOP ,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">28</span>,<span style=\"color: #000000;\">144</span>,<span style=\"color: #000000;\">12</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">103</span>,<span style=\"color: #ff0000;\">\"EDIT\"</span>,ES_NOHIDESEL |ES_LEFT |WS_CHILD |WS_BORDER |WS_TABSTOP ,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">41</span>,<span style=\"color: #000000;\">63</span>,<span style=\"color: #000000;\">12</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">104</span>,<span style=\"color: #ff0000;\">\"EDIT\"</span>,ES_NOHIDESEL |ES_LEFT |WS_CHILD |WS_BORDER |WS_TABSTOP ,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #000000;\">63</span>,<span style=\"color: #000000;\">12</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">105</span>,<span style=\"color: #ff0000;\">\"EDIT\"</span>,ES_NOHIDESEL |ES_LEFT |WS_CHILD |WS_BORDER |WS_TABSTOP ,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">67</span>,<span style=\"color: #000000;\">63</span>,<span style=\"color: #000000;\">12</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Rev-Code\"</span>,<span style=\"color: #000000;\">65535</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_RIGHT |WS_CHILD ,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">17</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #000000;\">8</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Description\"</span>,<span style=\"color: #000000;\">65535</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_RIGHT |WS_CHILD ,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">31</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #000000;\">8</span><br />  CONTROL <span style=\"color: #ff0000;\">\"GL-Acc IN\"</span>,<span style=\"color: #000000;\">65535</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_RIGHT |WS_CHILD ,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">44</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #000000;\">8</span><br />  CONTROL <span style=\"color: #ff0000;\">\"GL-Acc OUT\"</span>,<span style=\"color: #000000;\">65535</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_RIGHT |WS_CHILD ,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">56</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #000000;\">8</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Serv-Code\"</span>,<span style=\"color: #000000;\">65535</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_RIGHT |WS_CHILD ,<span style=\"color: #000000;\">6</span>,<span style=\"color: #000000;\">68</span>,<span style=\"color: #000000;\">54</span>,<span style=\"color: #000000;\">8</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">301</span>,<span style=\"color: #ff0000;\">\"TBTNBMP\"</span>,WS_CHILD |0xF0B,<span style=\"color: #000000;\">142</span>,<span style=\"color: #000000;\">116</span>,<span style=\"color: #000000;\">36</span>,<span style=\"color: #000000;\">30</span><br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">302</span>,<span style=\"color: #ff0000;\">\"TBTNBMP\"</span>,WS_CHILD |0xF0B,<span style=\"color: #000000;\">182</span>,<span style=\"color: #000000;\">116</span>,<span style=\"color: #000000;\">36</span>,<span style=\"color: #000000;\">30</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Edit5\"</span>,<span style=\"color: #000000;\">106</span>,<span style=\"color: #ff0000;\">\"EDIT\"</span>,ES_LEFT |WS_CHILD |WS_BORDER |WS_TABSTOP |WS_VISIBLE ,<span style=\"color: #000000;\">64</span>,<span style=\"color: #000000;\">80</span>,<span style=\"color: #000000;\">63</span>,<span style=\"color: #000000;\">14</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Cost Ratio\"</span>,<span style=\"color: #000000;\">1</span>,<span style=\"color: #ff0000;\">\"STATIC\"</span>,SS_RIGHT |WS_CHILD |WS_GROUP |WS_VISIBLE ,<span style=\"color: #000000;\">20</span>,<span style=\"color: #000000;\">83</span>,<span style=\"color: #000000;\">39</span>,<span style=\"color: #000000;\">8</span><br />END<br /> </div>[/code:3kb00abf]\n\nReinaldo.", "time": "18:30", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nWhat is 0xF0B ?\n\nCONTROL \"\",301,\"TBTNBMP\",WS_CHILD |0xF0B,142,116,36,30", "time": "09:24", "topic": "BtnBmp changed behavior?", "username": "Antonio Linares" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio;\n\nHi. \n\nI'm not sure. I'm managing these resources using Resource Builder. I'm thinking it was added by it. I removed it and recompiled the app, but still get the same result. \n\n\nReinaldo.", "time": "16:08", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo\n\nPlease try modify this \"ELSEIF\" inside btnbmp.prg\n(line 1276)\n\n[code=fw:11ez49nz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"> &nbsp; &nbsp; elseif IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> .or. !::<span style=\"color: #000000;\">lTransparent</span><br />&nbsp; &nbsp; &nbsp; &nbsp; PalBtnPaint<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap4</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hBitmap4</span>, ::<span style=\"color: #000000;\">hBitmap1</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap4</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hPalette4</span>, ::<span style=\"color: #000000;\">hPalette1</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span> .and. empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hBitmap1</span>,::<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span> .and. empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hPalette1</span>,::<span style=\"color: #000000;\">hPalette2</span><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">hBitmap3</span>, ::<span style=\"color: #000000;\">hPalette3</span>, ::<span style=\"color: #000000;\">lPressed</span>, ::<span style=\"color: #000000;\">lAdjust</span>, ::<span style=\"color: #000000;\">lBorder</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oPopup</span> != <span style=\"color: #00C800;\">nil</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">nClrPane</span>, <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> == <span style=\"color: #ff0000;\">\"...\"</span>, ::<span style=\"color: #000000;\">cCaption</span>,<span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nLayout</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oFont</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hDC</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Upper<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #ff0000;\">\"TBAR\"</span> <span style=\"color: #000000;\">&#41;</span></div>[/code:11ez49nz]\n\nNew code\n[code=fw:11ez49nz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp;elseif IsAppThemed<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> !::<span style=\"color: #000000;\">lTransparent</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;PalBtnPaint<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap4</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hBitmap4</span>, ::<span style=\"color: #000000;\">hBitmap1</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lMOver</span> .and. !Empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap4</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hPalette4</span>, ::<span style=\"color: #000000;\">hPalette1</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span> .and. empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hBitmap1</span>,::<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span> .and. empty<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hBitmap2</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hPalette1</span>,::<span style=\"color: #000000;\">hPalette2</span><span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">hBitmap3</span>, ::<span style=\"color: #000000;\">hPalette3</span>, ::<span style=\"color: #000000;\">lPressed</span>, ::<span style=\"color: #000000;\">lAdjust</span>, ::<span style=\"color: #000000;\">lBorder</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">oPopup</span> != <span style=\"color: #00C800;\">nil</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ::<span style=\"color: #000000;\">nClrPane</span>, <span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">cCaption</span> == <span style=\"color: #ff0000;\">\"...\"</span>, ::<span style=\"color: #000000;\">cCaption</span>,<span style=\"color: #000000;\">&#41;</span> , ::<span style=\"color: #000000;\">nLayout</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oFont</span> != <span style=\"color: #00C800;\">nil</span>, ::<span style=\"color: #000000;\">oFont</span>:<span style=\"color: #000000;\">hFont</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> ValType<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"B\"</span>, Eval<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">nClrText</span>, ::<span style=\"color: #000000;\">lMOver</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">nClrText</span> <span style=\"color: #000000;\">&#41;</span>, ::<span style=\"color: #000000;\">hDC</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Upper<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> != <span style=\"color: #ff0000;\">\"TBAR\"</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; hBmpOld = SelectObject<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, hBmp <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nZeroZeroClr = GetPixel<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SelectObject<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, hBmpOld <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nOldClr = SetBkColor<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TransBmp<span style=\"color: #000000;\">&#40;</span> hBmp, nBmpWidth, nBmpHeight, nZeroZeroClr, ::<span style=\"color: #000000;\">hDC</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span>, nAdjust, nBmpLeft + nAdjust <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span>, nAdjust, nBmpTop + nAdjust <span style=\"color: #000000;\">&#41;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span> <span style=\"color: #000000;\">&#40;</span>::<span style=\"color: #000000;\">lAdjust</span>, ::<span style=\"color: #000000;\">nWidth</span>, nBmpWidth <span style=\"color: #000000;\">&#41;</span> ,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">if</span><span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">lAdjust</span>, ::<span style=\"color: #000000;\">nHeight</span>, nBmpHeight <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SetBkColor<span style=\"color: #000000;\">&#40;</span> ::<span style=\"color: #000000;\">hDC</span>, nOldClr <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">endif</span> &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">else</span><br />&nbsp;</div>[/code:11ez49nz]", "time": "19:12", "topic": "BtnBmp changed behavior?", "username": "Daniel Garcia-Gil" } ]
BtnBmp changed behavior?
[ { "date": "2010-10-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Daniel;\n\nYou got it fixed!\n\nThank you.\n\n\nReinaldo.", "time": "19:20", "topic": "BtnBmp changed behavior?", "username": "reinaldocrespo" } ]
BtnBmp changed behavior?
[ { "date": "2009-03-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Les presento otra posible contribucion, nuevamente expongo el prototipo de lo que seria el cambio...\n\nComo se ha comentado el tema sobre Alpha Channel empiezo a implementarlo para las clases de FW...\n\nla idea general, como al igual que usamos la clausula TRANSPARENT, he agregado una clausula ALPHA, para expresar que vamos a usar las caracteristicas de un bitmap con Alpha Channel, esta caracteristica necesita una cantidad de transparencia ( 0-255 ), he agregado una clasula LEVEL para determinar en porcentajes esa transparencia ( 0-100% ), no usamos 0-255 solo un numero que exprese el porcentaje.\n\nla clase TBTNBMP por los momentos usa 3 imagenes ( 1-Status Normal, 2-Boton Oprimido, 3-Boton Deshabilitado ), para el proximo build tendra una 4 imagen que se usara cuando el mouse este ensima del boton...\npor el uso de todas estas imagenes he individualizado la transparencias de los mismos,\nejemplo\n\n@ x,y btnbmp.... ALPHA LEVEL 0,10,10,0 seria la forma de agregarles el porcentaje de transparencia a cada imagen por default seria 0% transparencia...\n\nSin mas palabras les deje un ejemplo\nestoy atento a las opiniones y sugerencias\n\n[url:1iefgvxz]http&#58;//www&#46;sitasoft&#46;com/fivewin/test/testbtb2&#46;rar[/url:1iefgvxz]\n\n[code=fw:1iefgvxz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Slider.ch\"</span><br /><br />procedure main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">local</span> oDlgw<br /><span style=\"color: #00C800;\">local</span> oBot01<br /><span style=\"color: #00C800;\">local</span> oBar, oBotBar0, oBotBar1 <br /><span style=\"color: #00C800;\">local</span> nVar1 := <span style=\"color: #000000;\">80</span>  <span style=\"color: #B900B9;\">// transparence porcent</span><br /><span style=\"color: #00C800;\">local</span> oSlide<br /><span style=\"color: #00C800;\">local</span> lChk1 := .f.<br /><span style=\"color: #00C800;\">local</span> lChk2 := .f.<br /><br /><br />SetBalloon<span style=\"color: #000000;\">&#40;</span> .t. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">dialog</span> oDlgw <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Test BTNBMP Alpha Channel\"</span> <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">0</span>,<span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">600</span>,<span style=\"color: #000000;\">700</span> <span style=\"color: #0000ff;\">pixel</span><br /><br /><br />  @ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBot01 <span style=\"color: #0000ff;\">OF</span> oDlgw <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">80</span> tooltip <span style=\"color: #ff0000;\">\"BTNBMP With Alpha Channel\"</span> ;<br />   file <span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\e</span>xplorer.bmp\"</span>,<span style=\"color: #00C800;\">nil</span>,<span style=\"color: #00C800;\">nil</span>,<span style=\"color: #ff0000;\">\"..<span style=\"color: #000000;\">\\b</span>itmaps<span style=\"color: #000000;\">\\i</span>mac.bmp\"</span> alpha level nVar1,,,<span style=\"color: #000000;\">20</span><br />   <br />  @ <span style=\"color: #000000;\">180</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">checkbox</span> lChk1 <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"Adjust Image   \"</span> <span style=\"color: #0000ff;\">of</span> oDlgw <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">change</span> <span style=\"color: #000000;\">&#40;</span> oBot01:<span style=\"color: #000000;\">lAdjust</span> := lChk1, oBot01:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />  @ <span style=\"color: #000000;\">200</span>, <span style=\"color: #000000;\">5</span> <span style=\"color: #0000ff;\">checkbox</span> lChk2 <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"2007 Style     \"</span> <span style=\"color: #0000ff;\">of</span> oDlgw <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">on</span> <span style=\"color: #0000ff;\">change</span> <span style=\"color: #000000;\">&#40;</span> oBot01:<span style=\"color: #000000;\">l2007</span> := lChk2, oBot01:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br />  <br />  @ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">300</span> SLIDER oSlide <span style=\"color: #0000ff;\">VAR</span> nVar1 <span style=\"color: #0000ff;\">OF</span> oDlgw ;<br />               <span style=\"color: #0000ff;\">VERTICAL</span> ;<br />               <span style=\"color: #0000ff;\">RIGHT</span> DIRECTION ;<br />               RANGE <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">100</span> ;<br />               MARKS <span style=\"color: #000000;\">1</span>;<br />               EXACT;<br />               <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oBot01:<span style=\"color: #000000;\">aLevel</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> := nVar1, oBot01:<span style=\"color: #0000ff;\">refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> ;<br />               <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">42</span>, <span style=\"color: #000000;\">160</span> <span style=\"color: #0000ff;\">PIXEL</span><br />               <br />  <br /> <br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">dialog</span> oDlgw <br /><br /><span style=\"color: #00C800;\">return</span></div>[/code:1iefgvxz]", "time": "05:37", "topic": "BtnBmp con Alpha Channel", "username": "Daniel Garcia-Gil" } ]
BtnBmp con Alpha Channel
[ { "date": "2009-03-27", "forum": "FiveWin para Harbour/xHarbour", "text": "Daniel,\n\nSolamente decir que sería una aportación mas que excelente.\n\ngracias por tu disposición.", "time": "09:09", "topic": "BtnBmp con Alpha Channel", "username": "wmormar" } ]
BtnBmp con Alpha Channel
[ { "date": "2018-12-10", "forum": "FiveWin para Harbour/xHarbour", "text": "Colegas, he generado dos diálogos, uno por recursos y otro por código. Utilizo la clase BTnBmp pero su apariencia difieren si es por código o por recursos. \n\n[img:1lbjwcyr]http&#58;//i63&#46;tinypic&#46;com/53kcjb&#46;png[/img:1lbjwcyr]\n\nEste es el código\n[code=fw:1lbjwcyr]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//código</span><br />        @ <span style=\"color: #000000;\">188</span>, <span style=\"color: #000000;\">205</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Guardar\"</span> <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">22</span> <span style=\"color: #0000ff;\">Pixel</span> <span style=\"color: #0000ff;\">Of</span> oDlg Flat<span style=\"color: #B900B9;\">//NoBorder</span><br />        oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br />        @ <span style=\"color: #000000;\">188</span>, <span style=\"color: #000000;\">280</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Cerrar\"</span> <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">22</span> <span style=\"color: #0000ff;\">Pixel</span> <span style=\"color: #0000ff;\">Of</span> oDlg Flat <span style=\"color: #0000ff;\">Action</span> oDlg : <span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />         oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br /><br /><span style=\"color: #B900B9;\">//recursos</span><br /><br />        <span style=\"color: #0000ff;\">Redefine</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Id</span> <span style=\"color: #000000;\">202</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Cerrar\"</span>  <span style=\"color: #0000ff;\">Of</span> oDlg <span style=\"color: #0000ff;\">Center</span> <span style=\"color: #0000ff;\">Action</span> oDlg : <span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">Redefine</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Id</span> <span style=\"color: #000000;\">201</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Guardar\"</span> <span style=\"color: #0000ff;\">Of</span> oDlg <span style=\"color: #0000ff;\">Center</span> <span style=\"color: #0000ff;\">Action</span> GuardaExtras<span style=\"color: #000000;\">&#40;</span> cObs, nTipo, cOtro, dDesde, dHasta, nMotivo, nDiaHoras, oQryL, oDlg, oBrwL <span style=\"color: #000000;\">&#41;</span><br />        oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br />        oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br /><br /> </div>[/code:1lbjwcyr]\n\nMe falta definir algún parámetro en el caso de código ? Uso FWH 17.01. Desde ya muchas gracias.\n\nSaludos", "time": "21:57", "topic": "BtnBmp desde código y recursos", "username": "horacio" } ]
BtnBmp desde código y recursos
[ { "date": "2018-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "+1", "time": "15:07", "topic": "BtnBmp desde código y recursos", "username": "horacio" } ]
BtnBmp desde código y recursos
[ { "date": "2018-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "y Con l2007? y porque no usas solo Recursos?", "time": "16:30", "topic": "BtnBmp desde código y recursos", "username": "karinha" } ]
BtnBmp desde código y recursos
[ { "date": "2018-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Hay un bug que no reporté, si lo hago desde recursos el dialogo se abre detrás del folder y como estoy muy apurado decidí hacerlo por código. pero supongo que los controles deberían comportarse de igual manera desde recursos que desde código. \n\nSaludos", "time": "16:42", "topic": "BtnBmp desde código y recursos", "username": "horacio" } ]
BtnBmp desde código y recursos
[ { "date": "2018-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote:1hvicdzb]\n el dialogo se abre detrás del folder\n[/quote:1hvicdzb]\n\nInvestigue las propiedades del diálogo. Ponga una imagen.", "time": "17:11", "topic": "BtnBmp desde código y recursos", "username": "karinha" } ]
BtnBmp desde código y recursos
[ { "date": "2018-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Karinha, ahora no puedo. Debería rehacer la rutina para generar ese error y como te dije estoy apurado para entregar este trabajo. No bien tenga tiempo haré un autocontenido con el error y lo postearé por aquí.\n\nSaludos", "time": "17:17", "topic": "BtnBmp desde código y recursos", "username": "horacio" } ]
BtnBmp desde código y recursos
[ { "date": "2018-12-11", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"horacio\":2xpwig4r]Colegas, he generado dos diálogos, uno por recursos y otro por código. Utilizo la clase BTnBmp pero su apariencia difieren si es por código o por recursos. \n\n[img:2xpwig4r]http&#58;//i63&#46;tinypic&#46;com/53kcjb&#46;png[/img:2xpwig4r]\n\nEste es el código\n[code=fw:2xpwig4r]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">//código</span><br />        @ <span style=\"color: #000000;\">188</span>, <span style=\"color: #000000;\">205</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Guardar\"</span> <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">22</span> <span style=\"color: #0000ff;\">Pixel</span> <span style=\"color: #0000ff;\">Of</span> oDlg Flat<span style=\"color: #B900B9;\">//NoBorder</span><br />        oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br />        @ <span style=\"color: #000000;\">188</span>, <span style=\"color: #000000;\">280</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Cerrar\"</span> <span style=\"color: #0000ff;\">Size</span> <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">22</span> <span style=\"color: #0000ff;\">Pixel</span> <span style=\"color: #0000ff;\">Of</span> oDlg Flat <span style=\"color: #0000ff;\">Action</span> oDlg : <span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />         oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br /><br /><span style=\"color: #B900B9;\">//recursos</span><br /><br />        <span style=\"color: #0000ff;\">Redefine</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Id</span> <span style=\"color: #000000;\">202</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Cerrar\"</span>  <span style=\"color: #0000ff;\">Of</span> oDlg <span style=\"color: #0000ff;\">Center</span> <span style=\"color: #0000ff;\">Action</span> oDlg : <span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #0000ff;\">Redefine</span> <span style=\"color: #0000ff;\">BtnBmp</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">Id</span> <span style=\"color: #000000;\">201</span> <span style=\"color: #0000ff;\">Prompt</span> <span style=\"color: #ff0000;\">\"&Guardar\"</span> <span style=\"color: #0000ff;\">Of</span> oDlg <span style=\"color: #0000ff;\">Center</span> <span style=\"color: #0000ff;\">Action</span> GuardaExtras<span style=\"color: #000000;\">&#40;</span> cObs, nTipo, cOtro, dDesde, dHasta, nMotivo, nDiaHoras, oQryL, oDlg, oBrwL <span style=\"color: #000000;\">&#41;</span><br />        oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br />        oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#93;</span> : <span style=\"color: #000000;\">l2013</span> := <span style=\"color: #00C800;\">TRUE</span><br /><br /> </div>[/code:2xpwig4r]\n\nMe falta definir algún parámetro en el caso de código ? Uso FWH 17.01. Desde ya muchas gracias.\n\nSaludos[/quote:2xpwig4r]\n\nHola Horacio,\n\nComo le haces para generar esas ventanas con ese estilo ?", "time": "15:21", "topic": "BtnBmp desde código y recursos", "username": "Compuin" } ]
BtnBmp desde código y recursos