messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2010-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\n[quote:1215vvuh]CONTROL \"Core\", 750, \"Button\", BS_AUTOCHECKBOX|WS_TABSTOP, 80, 220, 40, 13[/quote:1215vvuh]\n\nI note that when I create a default style checkbox in Workshop it looks like this:\n\n[quote:1215vvuh] CHECKBOX \"Checkbox\", IDC_CHECKBOX1, 88, 20, 60, 12, BS_AUTOCHECKBOX | WS_TABSTOP[/quote:1215vvuh]\n\nAre you using a different resource editor, or do you use a different type of control for a reason?\n\nRegards,\nJames", "time": "18:48", "topic": "Checkbox still strange", "username": "James Bott" } ]
Checkbox still strange
[ { "date": "2010-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\nI actually don't use a resource editor anymore. I do all my fine tuning \"by hand\". However, \"Button\" is correct and works. I think we were given that guidance when we first went to themes.\n\nOf course, the issue still comes back to the shift in code from 10.06 to 10.07.", "time": "21:19", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nPlease modify your RC as James has suggested you. That may be the reason of the problem", "time": "22:33", "topic": "Checkbox still strange", "username": "Antonio Linares" } ]
Checkbox still strange
[ { "date": "2010-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "I tried that and got an error ! Also, it works fine with 10.06 but not 10.07 plus.", "time": "23:44", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nWhat was the error?\n\nJames", "time": "01:00", "topic": "Checkbox still strange", "username": "James Bott" } ]
Checkbox still strange
[ { "date": "2010-11-05", "forum": "FiveWin for Harbour/xHarbour", "text": "The error when trying to compile is \"String literal expected\"", "time": "19:48", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim, I think that such an approach is very time consuming and inconclusive. The right way to rapidly solve the issue is to make a reduced and self-contained sample showing the problem.\n\nEMG", "time": "11:34", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "If I can't reproduce the problem how can I fix it? Anyway, can you check the value of ::lTransparent inside of HandleEvent() method (write its value to a log)?\n\nEMG", "time": "09:01", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nIf it was reproduceable ( consistent in all areas ) I would do that as I have in the past.\n\nIn this case, it is reproduceable only in the much larger code of the application ... some places it works, some it doesn't. Again, it works perfectly with 10.6 but not 10.7 and beyond.\n\nI have also isolated it to the control.prg and listed the areas where there is a code change ! If I could make a small code to show it, I would. However, someone made the changes to the control class in the July release, and knows what else might be involved. If I simply put in the 10.6 code the problem goes away !", "time": "01:06", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nHave you tried linking in the ver 10.6 control.prg with the 10.7 FWH version. This would confirm that the problem is in the control.prg code and not elsewhere.\n\nRegards,\nJames", "time": "15:51", "topic": "Checkbox still strange", "username": "James Bott" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "lTransparent is .t. for the keyclick.\n\nI understand your question. I have to do this soft of evaluation all the time. Often a client has a problem I can't duplicate.\n\nHowever, the reality is that something changed. If I simply substituted in the 10.06 control.prg, the problem goes away.\n\nI am going to try adding in the changes one section at a time to the 10.06 code until the problem starts ... then I can tell you exactly !", "time": "19:49", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "This is the offending code:\n\n case nMsg == WM_LBUTTONDOWN\n if ::lTransparent .and. ( ::IsKindOf( \"TRADIO\" ) .or. ::IsKindOf( \"TCHECKBOX\" ) )\n ::oWnd:Refresh( .f. ) \n endif \n return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ), nWParam )\n \n\nThe changes to WM_UPDATEUISTATE and the addition of WM_LBUTTONUP are fine. Howevever, with LBUTTONDOWN I'm having to double click the checkboxes. Also setting the default to lTransparent to .f. is not a problem. The only other change in the code was with the FOLDER, and that is not a problem.\n\nSo, the need to double click a checkbox is limited to the above addition made to 10.07. Any thoughts on why or what is wrong ?", "time": "20:21", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Try replacing\n\n[code=fw:1ycgljlg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span> .f. <span style=\"color: #000000;\">&#41;</span></div>[/code:1ycgljlg]\n\nwith\n\n[code=fw:1ycgljlg]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">::<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:1ycgljlg]\n\nEMG", "time": "20:55", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "It still requires a double click, but the flash returns !", "time": "21:14", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-09", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok. Is the problem solved without side effects if you completely remove the case WM_LBUTTONDOWN?\n\nEMG", "time": "22:27", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "James,\n\nAs you probably saw from the additional posts, I was able to isolate the problem to the WM_LBUTTONDOWN case in the event handler. Yes, it was added in 10.7, and not present in 10.6. All other changes in 10.7 were fine and did not cause a problem. Those same changes exist through 10.10.\n\nEMG\n\nYes, if I comment out WM_LBUTTONDOWN from the 10.10 ( or previous ) version of FWH, then the problem goes away.\n\nI'm wondering if there is a variable name in conflict in the classes. The problem is that this occurs consistently in some dialogs, on every checkbox. In other dialogs, it does not occur. It is always the same dialogs, and it is universal within them. That is why I can't give you a sample. \n\nWhy was the WM_LBUTTONDOWN added ? Perhaps I can better get this resolved if I knew the reason it was necessary in 10.7 when it worked fine without these changes in all previous versions. The solution to the problem probably lies within this reason.\n\nThanks.\n\nTim", "time": "19:05", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Maybe this:\n\n[quote:6va1mivc]* Fix: samples\\GradBrus.prg was failing when Alt was pressed or the mouse was clicked on a \n radio or a checkbox. We have modified Class TControl Method HandleEvent() to solve it.[/quote:6va1mivc]\n\nCan you try to take one of your dialogs showing the problem, extract it from your app, make the extracted code self-contained and then show us the resulting code?\n\nEMG", "time": "19:53", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\n[quote:lxj75nl0]CONTROL \"Core\", 750, \"Button\", BS_AUTOCHECKBOX|WS_TABSTOP, 80, 220, 40, 13[/quote:lxj75nl0]\n\nI still wonder about the above. What is a \"core\" control? Then it seems to be defined as both a button and a checkbox. Where did you get this syntax?\n\nPerhaps your syntax was only working before because there was a bug in the FW code and now that the bug has been fixed it doesn't work.\n\nI wonder why you are getting an error when trying to use a standard checkbox control. As Enrico mentioned, I think it would help if we could see the code for one of the dialogs that is giving you the problem. I would also like to see the preprocessor output.\n\nYou mentioned varaible name conflicts; are you using publics and/or privates?\n\nRegards,\nJames", "time": "20:11", "topic": "Checkbox still strange", "username": "James Bott" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"James Bott\":8wply6oy]I still wonder about the above. What is a \"core\" control?[/quote:8wply6oy]\n\nJames, you have misunderstood: \"Core\" is the label, \"Button\" is the control type. <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nEMG", "time": "20:24", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "I did better then I thought. \n\nHere is a \"cut down\" dialog\n\n[code=fw:ensotr7n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"fivewin.ch\"</span><br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"tdata.ch\"</span><br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"wcolors.CH\"</span><br /><span style=\"color: #00D7D7;\">#INCLUDE</span> <span style=\"color: #ff0000;\">\"xbrowse.CH\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> TestInv<br /><br />    <span style=\"color: #B900B9;\">// Declare PRIVATE variables</span><br />    <span style=\"color: #00C800;\">PRIVATE</span> oDiw, oInv, oInvr, oLbxin                   <span style=\"color: #B900B9;\">// Main dialog object</span><br /><br />    <span style=\"color: #B900B9;\">// Open the inventory database  and set the index to part number order</span><br />    oInv := tdata<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span>, <span style=\"color: #ff0000;\">\"einmst\"</span> <span style=\"color: #000000;\">&#41;</span><br />    <span style=\"color: #00C800;\">IF</span> !oInv:<span style=\"color: #000000;\">use</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />        MsgAlert<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Inventory file could not be opened\"</span> <span style=\"color: #000000;\">&#41;</span><br />        <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">nil</span><br />    <span style=\"color: #00C800;\">ENDIF</span><br />    oInv:<span style=\"color: #000000;\">setorder</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"einnum\"</span> <span style=\"color: #000000;\">&#41;</span><br />    oInv:<span style=\"color: #000000;\">gotop</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />  <br />  <span style=\"color: #B900B9;\">// Create the tRecord for editing</span><br />  oInvr:= TRecord<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>:<span style=\"color: #00C800;\">new</span><span style=\"color: #000000;\">&#40;</span> oInv <span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #B900B9;\">// Create the editor dialog</span><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDiw <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRO2100\"</span> TRANSPARENT <span style=\"color: #B900B9;\">// BRUSH oBrush TRANSPARENT </span><br /><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oInvr:<span style=\"color: #000000;\">invcof</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">750</span> <span style=\"color: #0000ff;\">OF</span> oDiw ;<br />        <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Does this part have cores attached ?\"</span> <span style=\"color: #0000ff;\">UPDATE</span><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oInvr:<span style=\"color: #000000;\">invtxf</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">749</span> <span style=\"color: #0000ff;\">OF</span> oDiw ;<br />        <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Is this part generally taxable ?\"</span> <span style=\"color: #0000ff;\">UPDATE</span><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oInvr:<span style=\"color: #000000;\">invtyp</span>  <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">748</span> <span style=\"color: #0000ff;\">OF</span> oDiw ;<br />        <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Is this a stocking part ?\"</span>  <span style=\"color: #0000ff;\">UPDATE</span><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oInvr:<span style=\"color: #000000;\">invapa</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">747</span> <span style=\"color: #0000ff;\">OF</span> oDiw ;<br />        <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Should there be a parts kit attached to this item ? \"</span> <span style=\"color: #0000ff;\">UPDATE</span><br />  <br />    <span style=\"color: #B900B9;\">// Create the browse control</span><br />    <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLBxin <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">716</span> <span style=\"color: #0000ff;\">OF</span> oDiw <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #000000;\">&#40;</span> oInvr:<span style=\"color: #000000;\">load</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDiw:<span style=\"color: #0000ff;\">update</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">UPDATE</span><br />    oLbxin:<span style=\"color: #000000;\">setoDBF</span><span style=\"color: #000000;\">&#40;</span> oInv <span style=\"color: #000000;\">&#41;</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin header <span style=\"color: #ff0000;\">\"Part\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invnum</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin Header <span style=\"color: #ff0000;\">\"Description\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invdes</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin header <span style=\"color: #ff0000;\">\"Cross Ref.\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invcod</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin header <span style=\"color: #ff0000;\">\"On Hand\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invstk</span> ALIGN <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"9999.99\"</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin Header <span style=\"color: #ff0000;\">\"Charge\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invchg</span> ALIGN <span style=\"color: #0000ff;\">RIGHT</span> <span style=\"color: #0000ff;\">PICTURE</span> <span style=\"color: #ff0000;\">\"99,999.99\"</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin Header <span style=\"color: #ff0000;\">\"Location\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invloc</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br />    add <span style=\"color: #0000ff;\">to</span> oLbxin Header <span style=\"color: #ff0000;\">\"Manufacturer\"</span> <span style=\"color: #00C800;\">data</span> oInv:<span style=\"color: #000000;\">invman</span> ALIGN <span style=\"color: #0000ff;\">LEFT</span><br /><br />    <span style=\"color: #B900B9;\">// Activate the dialog screen</span><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDiw <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> oLbxin:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> oDiw:<span style=\"color: #0000ff;\">center</span><span style=\"color: #000000;\">&#40;</span>wndmain<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 />    <br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><br /> </div>[/code:ensotr7n]\n\n[code=fw:ensotr7n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// RESOURCE SCRIPT FOR ASW9  Updated:  09/2009 to 11/2009</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><span style=\"color: #00D7D7;\">#include</span> <commctrl.h><br /><span style=\"color: #00D7D7;\">#include</span> <richedit.h><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"asw8.h\"</span><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\i</span>nclude<span style=\"color: #000000;\">\\W</span>inApi.ch\"</span><br /><br /><span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\"WindowsXP.Manifest\"</span><br /><br />LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US<br /><br />PRO2100 <span style=\"color: #0000ff;\">DIALOG</span> DISCARDABLE <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">660</span>, <span style=\"color: #000000;\">175</span><br /><span style=\"color: #0000ff;\">STYLE</span> WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_VISIBLE<br />CAPTION <span style=\"color: #ff0000;\">\"Checkbox Test Program\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Arial\"</span><br />BEGIN<br />  CONTROL <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #000000;\">716</span>, <span style=\"color: #ff0000;\">\"TXBrowse\"</span>, WS_TABSTOP|0x00a00000, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">30</span>, <span style=\"color: #000000;\">650</span>, <span style=\"color: #000000;\">135</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Tax\"</span>, <span style=\"color: #000000;\">749</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Stock\"</span>, <span style=\"color: #000000;\">748</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">60</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span><br />  CONTROL <span style=\"color: #ff0000;\">\"Core\"</span>, <span style=\"color: #000000;\">750</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span><br />  CONTROL <span style=\"color: #ff0000;\">\"List\"</span>, <span style=\"color: #000000;\">747</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">160</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">32</span>, <span style=\"color: #000000;\">13</span><br /> <br />END<br /><br /> </div>[/code:ensotr7n]\n\nThe code is built into an .exe using FWH 10.10 and xHabour ( xBuilder /xCC ). If I make the KEYDOWN change to Control.prg, it works fine. Without it, the checkboxes require a double click. I am using database objects and you will see an xBrowse also present.", "time": "21:22", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "I can't compile your sample but I see at least one error:\n\n[quote=\"TimStone\":2heyqkxb][code=fw:2heyqkxb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">PAINT</span> oLbxin:<span style=\"color: #000000;\">setfocus</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span></div>[/code:2heyqkxb][/quote:2heyqkxb]\n\nWhat do you want to achieve using that line?\n\nEMG", "time": "21:56", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\n[quote:fbc5tgwl]James, you have misunderstood: \"Core\" is the label, \"Button\" is the control type.[/quote:fbc5tgwl]\n\nOK, I see.\n\nBut why use a button as a ckeckbox?\n\nThen he uses REDEFINE CHECKBOX in his code. Maybe this is a problem?\n\nThe Checkbox class is a subclass of TControl, so I don't understand the relationship with the button class.\n\nI'm confused.\n\nJames", "time": "22:30", "topic": "Checkbox still strange", "username": "James Bott" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "These two lines are equivalent:\n\n[code=fw:ec381a56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CONTROL <span style=\"color: #ff0000;\">\"Core\"</span>, <span style=\"color: #000000;\">750</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">220</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span></div>[/code:ec381a56]\n[code=fw:ec381a56]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">AUTOCHECKBOX <span style=\"color: #ff0000;\">\"Core\"</span>, <span style=\"color: #000000;\">750</span>, <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">220</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span>, BS_AUTOCHECKBOX | WS_TABSTOP</div>[/code:ec381a56]\n\nEMG", "time": "22:45", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"James Bott\":3ihwrnng]But why use a button as a ckeckbox?[/quote:3ihwrnng]\n\nA checkbox [b:3ihwrnng]is[/b:3ihwrnng] a kind of button.\n\nEMG", "time": "22:46", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"TimStone\":xnp4yy7u][code=fw:xnp4yy7u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CONTROL <span style=\"color: #ff0000;\">\"Core\"</span>, <span style=\"color: #000000;\">750</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span></div>[/code:xnp4yy7u][/quote:xnp4yy7u]\n\nPlease try with\n\n[code=fw:xnp4yy7u]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CONTROL <span style=\"color: #ff0000;\">\"Core\"</span>, <span style=\"color: #000000;\">750</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">5</span>, <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">13</span></div>[/code:xnp4yy7u]\n\nThis is how BRW defines a checkbox.\n\nEMG", "time": "22:49", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "That is not an error ... when the dialog is created ( opened ), we want the focus to be on the xBrowse control. This is a subset of a much larger dialog, and there are other commands before this ( button bar ). This subset behaves exactly like the full program, however.", "time": "23:26", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-10", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"TimStone\":tpexbv89]That is not an error ... when the dialog is created ( opened ), we want the focus to be on the xBrowse control.[/quote:tpexbv89]\n\nSo you have to use ON INIT clause, not ON PAINT. Please try.\n\nEMG", "time": "23:28", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2010-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "That actually fixed the problem. So, why would that cause a problem with checkboxes, and why did it isolate from 10.6 to 10.7 ?\n\nThanks", "time": "01:11", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-11", "forum": "FiveWin for Harbour/xHarbour", "text": "Probably an interaction between paint and focus.\n\nEMG", "time": "09:31", "topic": "Checkbox still strange", "username": "Enrico Maria Giordano" } ]
Checkbox still strange
[ { "date": "2022-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "I will start this in a new thread:\n\nWHEN CLICKING ON RADIO BUTTONS OR CHECKBOXES, the Text disappears.\n\nHere is an example of the problem.. This is a printer selection control. \n\nThis is the RC. Note we are using Radio buttons this time. They are vertically stacked. The first one starts at position 10, and is 12 points high. So it goes to 22. The next one is at row 25. I use 15 point line spacing for all my dialogs and everything works fine except the behavior on the checkbox and radio controls when clicking one.\n\n[code=fw:3ftyknl9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />PRNSELW <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">230</span>, <span style=\"color: #000000;\">90</span><br /><span style=\"color: #0000ff;\">STYLE</span> &nbsp;WS_POPUP | WS_CAPTION<br />CAPTION <span style=\"color: #ff0000;\">\"Printer Selection Options\"</span><br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; CONTROL &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Use DEFAULT printer\"</span>,<span style=\"color: #000000;\">353</span>,<span style=\"color: #ff0000;\">\"Button\"</span>,BS_AUTORADIOBUTTON,<span style=\"color: #000000;\">57</span>,<span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">108</span>,<span style=\"color: #000000;\">12</span><br />&nbsp; &nbsp; CONTROL &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #ff0000;\">\"Select an ALTERNATE printer\"</span>,<span style=\"color: #000000;\">354</span>,<span style=\"color: #ff0000;\">\"Button\"</span>,BS_AUTORADIOBUTTON,<span style=\"color: #000000;\">57</span>,<span style=\"color: #000000;\">25</span>,<span style=\"color: #000000;\">158</span>,<span style=\"color: #000000;\">12</span><br />&nbsp; &nbsp; PUSHBUTTON &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">350</span>,<span style=\"color: #000000;\">35</span>,<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">40</span><br />&nbsp; &nbsp; PUSHBUTTON &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">351</span>,<span style=\"color: #000000;\">95</span>,<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">40</span><br />&nbsp; &nbsp; PUSHBUTTON &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"\"</span>,<span style=\"color: #000000;\">352</span>,<span style=\"color: #000000;\">155</span>,<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">40</span>,<span style=\"color: #000000;\">40</span><br /><span style=\"color: #000000;\">&#125;</span><br />&nbsp;<br />&nbsp;</div>[/code:3ftyknl9]\n\nHere is the .prg code that uses this dialog:\n\n[code=fw:3ftyknl9]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">/* &nbsp;FUNCTION prnsel<br />&nbsp; &nbsp; &nbsp; Description: Printer selection control<br />&nbsp; &nbsp; &nbsp; Date updated: 9/29/2007<br />*/</span><br /><span style=\"color: #00C800;\">FUNCTION</span> prnsel<br /><br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Declare EXTERNAL variables</span><br />&nbsp; <span style=\"color: #00C800;\">LOCAL</span> ofBrush<br />&nbsp; &nbsp; MEMVAR oWnd, lGxPrsnt<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Declare LOCAL variables</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> prnmeth := <span style=\"color: #000000;\">0</span>, oDlg, oRadOpt, lView := .F. , lPrint := .F. , nPrn := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">LOCAL</span> cTitle := <span style=\"color: #ff0000;\">\"Printer Selection Options\"</span><br />&nbsp; &nbsp; lGxPrsnt := .T. <span style=\"color: #B900B9;\">// Assign static values</span><br /><br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Create the dialog</span><br />&nbsp; <span style=\"color: #00C800;\">IF</span> cWSshow = <span style=\"color: #ff0000;\">\"W\"</span><br />&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRNSELw\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush transparent <span style=\"color: #0000ff;\">TITLE</span> cTitle <br />&nbsp;&nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRNSEL\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush transparent <span style=\"color: #0000ff;\">TITLE</span> cTitle <br />&nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Create the radio control</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> oRadOpt <span style=\"color: #0000ff;\">VAR</span> nPrn <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">353</span>, <span style=\"color: #000000;\">354</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Create the button controls</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">350</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HRZMIN\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"View\"</span> NOBORDER TRANSPARENT ;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lView := .T., oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Preview the report, with an option to print\"</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">351</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HRPRINT\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Print\"</span> NOBORDER TRANSPARENT;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lPrint := .T., oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Print the report without previewing\"</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">352</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HREXIT\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Cancel\"</span> NOBORDER TRANSPARENT;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Cancel the print operation \"</span><br /><br />&nbsp; &nbsp; <span style=\"color: #B900B9;\">// Activate the dialog</span><br />&nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> lView .AND. nPrn = <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// View and select printer</span><br />&nbsp; &nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp; ELSEIF lView .AND. nPrn = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// View and default printer</span><br />&nbsp; &nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp; ELSEIF lPrint .AND. nPrn = <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// Print with selection</span><br />&nbsp; &nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp; ELSEIF lPrint .AND. nPrn = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// Print to default</span><br />&nbsp; &nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #000000;\">&#40;</span> prnmeth <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp;</div>[/code:3ftyknl9]\n\nThis has worked fine for the past 15 years. It started being a problem with the latest release of FWH. In this example, click on either button and the text next to it disappears.\n\nI'm using the latest FWH libraries with Visual Studio Community 2022 and Harbour. Builds are both 32 bit and 64 bit.", "time": "19:56", "topic": "Checkbox text disappears", "username": "TimStone" } ]
Checkbox text disappears
[ { "date": "2022-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Rem trasparent", "time": "21:06", "topic": "Checkbox text disappears", "username": "Silvio.Falconi" } ]
Checkbox text disappears
[ { "date": "2022-10-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Silvio,\n\nNope ... the only thing that happens is the field space for the text does not allow the background to come through, so it's an ugly display.\n\nTim", "time": "23:01", "topic": "Checkbox text disappears", "username": "TimStone" } ]
Checkbox text disappears
[ { "date": "2022-10-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[code=fw:1gxu6wkw]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// C:\\FWH..\\SAMPLES\\TIMSTON2.PRG .and. TIMSTON2.RC</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span> <br /><br /><span style=\"color: #00C800;\">STATIC</span> lGxPrsnt<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cWSshow := <span style=\"color: #ff0000;\">\"W\"</span><br /><br />&nbsp; &nbsp;SetBalloon<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Balloon shape required for tooltips</span><br /><br />&nbsp; &nbsp;SkinButtons<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;PrnSel<span style=\"color: #000000;\">&#40;</span> cWSshow <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">/* &nbsp;FUNCTION prnsel<br />&nbsp; &nbsp; &nbsp; Description: Printer selection control<br />&nbsp; &nbsp; &nbsp; Date updated: 9/29/2007<br />*/</span><br /><span style=\"color: #00C800;\">FUNCTION</span> PrnSel<span style=\"color: #000000;\">&#40;</span> cWSshow <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Declare LOCAL variables</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> prnmeth := <span style=\"color: #000000;\">0</span>, oDlg, oRadOpt, lView := .F. , lPrint := .F. , nPrn := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cTitle := <span style=\"color: #ff0000;\">\"Printer Selection Options\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oBrush, oView, oPrint, oExit, oFont, oBold<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nDTxtColor := <span style=\"color: #000000;\">192</span><br /><br />&nbsp; &nbsp;lGxPrsnt := .T. <span style=\"color: #B900B9;\">// Assign static values</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Gris Claro.</span><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;\">\"MS Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">00</span>, <span style=\"color: #000000;\">-12</span> BOLD<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBold <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">00</span>, <span style=\"color: #000000;\">-14</span> BOLD<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Create the dialog</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> cWSshow = <span style=\"color: #ff0000;\">\"W\"</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRNSELw\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> cTitle <span style=\"color: #0000ff;\">FONT</span> oBold<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRNSEL\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> cTitle <span style=\"color: #0000ff;\">FONT</span> oBold<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Create the radio control</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> oRadOpt <span style=\"color: #0000ff;\">VAR</span> nPrn <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">353</span>, <span style=\"color: #000000;\">354</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />&nbsp; &nbsp;AEval<span style=\"color: #000000;\">&#40;</span> oRadOpt:<span style=\"color: #000000;\">aItems</span>, <span style=\"color: #000000;\">&#123;</span> | oRadOpt | oRadOpt:<span style=\"color: #000000;\">lTransparent</span> := .T., ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oRadOpt:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFont <span style=\"color: #000000;\">&#41;</span>, oRadOpt:<span style=\"color: #000000;\">nClrText</span> := nDTxtColor <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Create the button controls</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oView <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">350</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HRZMIN\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"View\"</span> &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; NOBORDER TRANSPARENT <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lView := .T. , oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Preview the report, with an option to print\"</span><br /><br />&nbsp; &nbsp;oView:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Preview the report, with an option to print\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oPrint <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">351</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HRPRINT\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Print\"</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; NOBORDER TRANSPARENT <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lPrint := .T. , oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Print the report without previewing\"</span><br /><br />&nbsp; &nbsp;oPrint:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Print the report without previewing\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oExit <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">352</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HREXIT\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Cancel\"</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; NOBORDER TRANSPARENT <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Cancel the print operation \"</span><br /><br />&nbsp; &nbsp;oExit:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Cancel the print operation \"</span><br /><br />&nbsp; &nbsp;oExit:<span style=\"color: #000000;\">lCancel</span> := .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br />&nbsp; &nbsp;oBrush:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oBold:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> lView .AND. nPrn = <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// View and select printer</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;ELSEIF lView .AND. nPrn = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// View and default printer</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp;ELSEIF lPrint .AND. nPrn = <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// Print with selection</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp;ELSEIF lPrint .AND. nPrn = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// Print to default</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> prnmeth <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #B900B9;\">/* // TIMSTON2.RC file<br />PRNSELW DIALOG 136, 106, 230, 90<br />STYLE DS_ABSALIGN | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION<br />CAPTION \"Printer Selection Options\"<br />{<br />&nbsp;CONTROL \"Use DEFAULT Printer\", 353, \"Button\", BS_AUTORADIOBUTTON | WS_TABSTOP, 57,10,108,12<br />&nbsp;CONTROL \"Select an ALTERNATE Printer\", 354, \"Button\", BS_AUTORADIOBUTTON | WS_TABSTOP, 57, 25, 167, 12<br />&nbsp;PUSHBUTTON \"\", 350, 35,40,40,40<br />&nbsp;PUSHBUTTON \"\", 351, 95,40,40,40<br />&nbsp;PUSHBUTTON \"\", 352, 155,40,40,40<br />}<br />*/</span><br /><br /><span style=\"color: #B900B9;\">// FIN / END - <!-- e --><a href=\"mailto:kapiabafwh@gmail.com\">kapiabafwh@gmail.com</a><!-- e --></span><br />&nbsp;</div>[/code:1gxu6wkw]\n\nRegards, saludos.", "time": "00:44", "topic": "Checkbox text disappears", "username": "karinha" } ]
Checkbox text disappears
[ { "date": "2022-10-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Image:\n\n[url:g4x5n4wy]https&#58;//imgur&#46;com/09pog3N[/url:g4x5n4wy]\n\n[img:g4x5n4wy]https&#58;//i&#46;imgur&#46;com/09pog3N&#46;png[/img:g4x5n4wy]\n\nRegards, saludos.", "time": "00:53", "topic": "Checkbox text disappears", "username": "karinha" } ]
Checkbox text disappears
[ { "date": "2022-10-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you for the suggestion.\n\nI'm rather concerned that coding which worked fine for 15 years suddenly needs to be rewritten to make checkboxes and radio boxes start working again. This is a lot of additional code. I have many places where I reuse radio buttons and checkboxes throughout my program, and they would all need to be recoded to handle this. That just doesn't seem like the best option.\n\nAnyone else ?", "time": "01:20", "topic": "Checkbox text disappears", "username": "TimStone" } ]
Checkbox text disappears
[ { "date": "2022-10-26", "forum": "FiveWin for Harbour/xHarbour", "text": "With further testing, this is only happening with 64 BIT builds. ( FWH 64 ) that are created in the Visual Studio 2022 IDE.\n\nIt does NOT occur in 32 bit builds using the same tool.\n\nMaybe that helps. Since distribution copies will not have the problem, I can live with it, but there is apparently a configuration issue with my 64 bit builds using the IDE.\n\nAny thoughts ? ( Perhaps no one is doing it that way so you haven't experienced it ).\n\nThanks.", "time": "01:35", "topic": "Checkbox text disappears", "username": "TimStone" } ]
Checkbox text disappears
[ { "date": "2022-10-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"TimStone\":3t1ca2xs]Silvio,\n\nNope ... the only thing that happens is the field space for the text does not allow the background to come through, so it's an ugly display.\n\nTim[/quote:3t1ca2xs]\n\nI correctly use the one Manifest provided with the fwh package, in my case of the famous dialog viewtopic.php?f=3&t=42287&start=0 where part of the say and tgroup controls was hidden it was because I used the TRANSPARENT clause to the DIALOG, removed this the dialog worked well it may be that there is a bug to the RADIO MENU class which hides part of the say controls", "time": "08:54", "topic": "Checkbox text disappears", "username": "Silvio.Falconi" } ]
Checkbox text disappears
[ { "date": "2022-10-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Buen día. Prueba así:\n\nGood Morning. Try like this:\n\n[code=fw:3nuoat1e]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// C:\\FWH..\\SAMPLES\\TIMSTON3.PRG .and. TIMSTON3.RC</span><br /><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span> <br /><br /><span style=\"color: #00C800;\">STATIC</span> lGxPrsnt<br /><br /><span style=\"color: #00C800;\">FUNCTION</span> Main<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cWSshow := <span style=\"color: #ff0000;\">\"W\"</span><br /><br />&nbsp; &nbsp;SetBalloon<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Balloon shape required for tooltips</span><br /><br />&nbsp; &nbsp;SkinButtons<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;PrnSel<span style=\"color: #000000;\">&#40;</span> cWSshow <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">/* &nbsp;FUNCTION prnsel<br />&nbsp; &nbsp; &nbsp; Description: Printer selection control<br />&nbsp; &nbsp; &nbsp; Date updated: 9/29/2007<br />*/</span><br /><span style=\"color: #00C800;\">FUNCTION</span> PrnSel<span style=\"color: #000000;\">&#40;</span> cWSshow <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Declare LOCAL variables</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> prnmeth := <span style=\"color: #000000;\">0</span>, oDlg, oRadOpt, lView := .F. , lPrint := .F. , nPrn := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> cTitle := <span style=\"color: #ff0000;\">\"Printer Selection Options\"</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oBrush, oView, oPrint, oExit, oFont, oBold<br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> nDTxtColor := <span style=\"color: #000000;\">192</span><br /><br />&nbsp; &nbsp;lGxPrsnt := .T. <span style=\"color: #B900B9;\">// Assign static values</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush <span style=\"color: #0000ff;\">COLOR</span> nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span>, <span style=\"color: #000000;\">192</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #B900B9;\">// Gris Claro.</span><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;\">\"MS Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">00</span>, <span style=\"color: #000000;\">-12</span> BOLD<br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">FONT</span> oBold <span style=\"color: #0000ff;\">NAME</span> <span style=\"color: #ff0000;\">\"MS Sans Serif\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">00</span>, <span style=\"color: #000000;\">-14</span> BOLD<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Create the dialog</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> cWSshow = <span style=\"color: #ff0000;\">\"W\"</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRNSELw\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> cTitle <span style=\"color: #0000ff;\">FONT</span> oBold<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ELSE</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"PRNSEL\"</span> <span style=\"color: #0000ff;\">BRUSH</span> oBrush TRANSPARENT &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">TITLE</span> cTitle <span style=\"color: #0000ff;\">FONT</span> oBold<br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp;oDlg:<span style=\"color: #000000;\">lHelpIcon</span> := .F.<br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Create the radio control</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">RADIO</span> oRadOpt <span style=\"color: #0000ff;\">VAR</span> nPrn <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">353</span>, <span style=\"color: #000000;\">354</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">UPDATE</span><br /><br />&nbsp; &nbsp;oRadOpt:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cTooltip</span> := <span style=\"color: #ff0000;\">\"Radio Color 1\"</span><br />&nbsp; &nbsp;oRadOpt:<span style=\"color: #000000;\">aItems</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cTooltip</span> := <span style=\"color: #ff0000;\">\"Radio Color 2\"</span><br /><br />&nbsp; &nbsp;oRadOpt:<span style=\"color: #000000;\">SetFont</span><span style=\"color: #000000;\">&#40;</span> oFont <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Create the button controls</span><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oView <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">350</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HRZMIN\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"View\"</span> &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; NOBORDER TRANSPARENT <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lView := .T. , oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Preview the report, with an option to print\"</span><br /><br />&nbsp; &nbsp;oView:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Preview the report, with an option to print\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oPrint <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">351</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HRPRINT\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Print\"</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; NOBORDER TRANSPARENT <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> lPrint := .T. , oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Print the report without previewing\"</span><br /><br />&nbsp; &nbsp;oPrint:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Print the report without previewing\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">BTNBMP</span> oExit <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">352</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"HREXIT\"</span> <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Cancel\"</span> &nbsp; &nbsp;;<br />&nbsp; &nbsp; &nbsp; NOBORDER TRANSPARENT <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oDlg:<span style=\"color: #000000;\">End</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Cancel the print operation \"</span><br /><br />&nbsp; &nbsp;oExit:<span style=\"color: #000000;\">cToolTip</span> := <span style=\"color: #ff0000;\">\"Cancel the print operation \"</span><br /><br />&nbsp; &nbsp;oExit:<span style=\"color: #000000;\">lCancel</span> := .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> CTRLS_COLORS<span style=\"color: #000000;\">&#40;</span> oDlg <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oBrush:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oFont:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oBold:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> lView .AND. nPrn = <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// View and select printer</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">1</span><br />&nbsp; &nbsp;ELSEIF lView .AND. nPrn = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// View and default printer</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">2</span><br />&nbsp; &nbsp;ELSEIF lPrint .AND. nPrn = <span style=\"color: #000000;\">2</span> <span style=\"color: #B900B9;\">// Print with selection</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">3</span><br />&nbsp; &nbsp;ELSEIF lPrint .AND. nPrn = <span style=\"color: #000000;\">1</span> <span style=\"color: #B900B9;\">// Print to default</span><br />&nbsp; &nbsp; &nbsp; prnmeth := <span style=\"color: #000000;\">4</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> prnmeth <span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #B900B9;\">// By Giovanny Vecchi - TESTRAD.PRG</span><br /><span style=\"color: #00C800;\">FUNCTION</span> CTRLS_COLORS<span style=\"color: #000000;\">&#40;</span> f_oDlgContainer <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> lc_aCtrls := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span>, lc_iFor := <span style=\"color: #000000;\">0</span><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> lc_aItemsRadio := <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;lc_aCtrls := f_oDlgContainer:<span style=\"color: #000000;\">aControls</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">FOR</span> lc_iFor := <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> Len<span style=\"color: #000000;\">&#40;</span> lc_aCtrls <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">IF</span> ValType<span style=\"color: #000000;\">&#40;</span> lc_aCtrls<span style=\"color: #000000;\">&#91;</span>lc_iFor<span style=\"color: #000000;\">&#93;</span> <span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"O\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">IF</span> lc_aCtrls<span style=\"color: #000000;\">&#91;</span>lc_iFor<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"TRADIO\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; aEval<span style=\"color: #000000;\">&#40;</span> lc_aCtrls<span style=\"color: #000000;\">&#91;</span>lc_iFor<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">oRadMenu</span>:<span style=\"color: #000000;\">aItems</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #000000;\">&#123;</span>|_oRadId|<span style=\"color: #000000;\">&#123;</span> SetWindowTheme<span style=\"color: #000000;\">&#40;</span> _oRadId:<span style=\"color: #000000;\">hWnd</span>, <span style=\"color: #ff0000;\">\"\"</span>, <span style=\"color: #ff0000;\">\"\"</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;_oRadId:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> CLR_CYAN, CLR_WHITE <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ELSEIF lc_aCtrls<span style=\"color: #000000;\">&#91;</span>lc_iFor<span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">ClassName</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> == <span style=\"color: #ff0000;\">\"TCHECKBOX\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// SetWindowTheme( lc_aCtrls[lc_iFor]:hWnd, \"\", \"\" )</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #B900B9;\">// lc_aCtrls[lc_iFor]:SetColor( G_COLOR_SYS( 31 ), G_COLOR_SYS( 1 ) )</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #00C800;\">ENDIF</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">NEXT</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #B900B9;\">/* // TIMSTON3.RC file<br />PRNSELW DIALOG 136, 106, 230, 90<br />STYLE DS_ABSALIGN | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION<br />CAPTION \"Printer Selection Options\"<br />{<br />&nbsp;CONTROL \"Use DEFAULT Printer\", 353, \"Button\", BS_AUTORADIOBUTTON | WS_TABSTOP, 57,10,108,12<br />&nbsp;CONTROL \"Select an ALTERNATE Printer\", 354, \"Button\", BS_AUTORADIOBUTTON | WS_TABSTOP, 57, 25, 167, 12<br />&nbsp;PUSHBUTTON \"\", 350, 35,40,40,40<br />&nbsp;PUSHBUTTON \"\", 351, 95,40,40,40<br />&nbsp;PUSHBUTTON \"\", 352, 155,40,40,40<br />}<br />*/</span><br /><br /><span style=\"color: #B900B9;\">// FIN / END - <!-- e --><a href=\"mailto:kapiabafwh@gmail.com\">kapiabafwh@gmail.com</a><!-- e --></span><br />&nbsp;</div>[/code:3nuoat1e]\n\nRegards, saludos.", "time": "13:08", "topic": "Checkbox text disappears", "username": "karinha" } ]
Checkbox text disappears
[ { "date": "2015-02-19", "forum": "FiveWin for Harbour/xHarbour", "text": "I have this problem consistently on a program build using Harbour, FWH, and MSVC 2013 ( or even previous versions ).\n\nThe checkbox displays normally, but when I click on a checkbox, the text ( in this case Receipts ) disappears.\n\nI suspect I should be using a different control than BS_AUTOCHECKBOX ... but don't know what it would be. Does anyone have a suggestion ?\n\nFrom the .prg file:\n[code=fw:14xz6o8d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />  <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> aRpt<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;\">2037</span> HELPID <span style=\"color: #000000;\">128</span> ;<br />      <span style=\"color: #0000ff;\">MESSAGE</span> <span style=\"color: #ff0000;\">\"Daily Totals, and itemized list, for all work completed today\"</span> ;<br />      <span style=\"color: #0000ff;\">OF</span> oFld:<span style=\"color: #000000;\">aDialogs</span><span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">&#93;</span><br /> </div>[/code:14xz6o8d]\n\nFrom the .rc file:\n[code=fw:14xz6o8d]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /> CONTROL <span style=\"color: #ff0000;\">\"Receipts\"</span>, <span style=\"color: #000000;\">2037</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">10</span><br /> </div>[/code:14xz6o8d]\n\nThanks.", "time": "17:37", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-19", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\n[quote=\"TimStone\":2rydttrb][code=fw:2rydttrb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CONTROL <span style=\"color: #ff0000;\">\"Receipts\"</span>, <span style=\"color: #000000;\">2037</span>, <span style=\"color: #ff0000;\">\"Button\"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">10</span> </div>[/code:2rydttrb][/quote:2rydttrb]\n\nThis is what I use:\n\n[code=fw:2rydttrb]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">CONTROL <span style=\"color: #ff0000;\">\"Convenzione:\"</span>, <span style=\"color: #000000;\">102</span>, <span style=\"color: #ff0000;\">\"BUTTON\"</span>, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, <span style=\"color: #000000;\">70</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">12</span></div>[/code:2rydttrb]\n\nEMG", "time": "19:25", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-19", "forum": "FiveWin for Harbour/xHarbour", "text": "No, it's the same behavior\n\nRemember, I'm using Microsoft Visual Studio ( VC+ ) and Harbour", "time": "20:08", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nIn Fivedit preferences, general, there is a checkbox working fine defined this way:\n\n[code=fw:1sm6ric6]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">AUTOCHECKBOX &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Duplicates on functions panel\"</span>, <span style=\"color: #000000;\">110</span>, <span style=\"color: #000000;\">16</span>, <span style=\"color: #000000;\">58</span>, <span style=\"color: #000000;\">109</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">0</span>, WS_EX_LEFT</div>[/code:1sm6ric6]\n\n[url:1sm6ric6]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/fivedit&#46;zip[/url:1sm6ric6]", "time": "05:48", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nWS_EX_LEFT is 0 so I wonder if it can make any differences...\n\nEMG", "time": "11:00", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Using that format in the RC results in the same problem.\n\nWhen a page of checkboxes appears, the prompts are all there. Check on the checkbox, and the text ( prompt ) goes away. \n\nRemember ... this is FWH with Harbour ( no problem using an older xHarbour.com build ) with MSVC. The problem has been there for a long time and I've mentioned it before.", "time": "17:54", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nthe problem surely comes from FWH, not from [x]Harbour nor from the C compiler.\n\nEMG", "time": "19:05", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nDoes this happen only with a checkbox on a folder page ?\n\nDoes this also happen with a checkbox on a dialogbox (no folder) ?", "time": "19:49", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim\n\nI had the same problem with radio buttons and the fix was to add the Group Attribute to the control ..\n\nRick Lipkin\n[code=fw:26voxq81]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">CHECKBOX</span> <span style=\"color: #ff0000;\">\"Receipts\"</span>, <span style=\"color: #000000;\">2037</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">10</span>, <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">10</span>, BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP<br /> </div>[/code:26voxq81]\n\n[img:26voxq81]http&#58;//i59&#46;tinypic&#46;com/e1f2th&#46;jpg[/img:26voxq81]", "time": "20:11", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Rick Lipkin" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Rick: Group doesn't help, and I also tried changing CONTROL to CHECKBOX, as in your example, but it doesn't recognize that.\n\nAntonio: It is on both folders, and dialog, pages. Also, if I check one box, but then go back and check a different one, then the text comes back on the original. So, when a box is checked, then the prompt does not show. If focus goes elsewhere, then it restores the text by the now unchecked box.\n\nTim", "time": "21:02", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nat this point, we absolutely need a sample showing the problem.\n\nEMG", "time": "21:38", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Actually, at this point I'm going to revise the .rc file.\n\nI've just looked at the MSDN formatting, which is what Antonio used in the editor. For too long I've carried over the old Borland Resource Editor file with some modifications.\n\nOnce I do that I will come back here and we can revisit the issue.\n\nTim", "time": "21:43", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nI have started with this simple example and build it using FWH\\samples\\buildh32.bat that uses MS Visual C\n\n[code=fw:btf83gzd]<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 />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, lValue := .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lValue <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Checkbox\"</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">80</span>, <span style=\"color: #000000;\">20</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 /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:btf83gzd]\n\nHere it is working fine. Could you build it there also and confirm me that it works fine for you ? thanks\n\nNext step: we will use a RC file to define the dialog.", "time": "08:45", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nOK ... I added it as a function within the application, and it has the same behavior as I see with the .RC\n\nIt shows checked, but click on it and it disappears.\n\nIf I add two more checkboxes, the one that is clicked ( checked or unchecked ) does not show the text, but the others do. If I click on a different one, then it loses the text, and the previous one regains it.\n\nI should add that I also see this with Radio buttons. I read Rick's note, but grouping didn't seem to help here.\n\nTim\n\n Built with Microsoft Visual Studio 2013 ( not a build.bat file ), FWH ( current release ) and Harbour ( current FW release ).", "time": "20:35", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nAre you using themes in your app resources ?\n\n1 24 \"WindowsXP.Manifest\"", "time": "08:32", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "I tried with and without manifest and found no problem. <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "11:34", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nAre you using Borland ?\n\nAccording to Tim this may be only related with MSVC", "time": "12:04", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nYes, I'm using BCC690 but how the C compiler could make any difference? I don't understand... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG", "time": "12:29", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nIts not the C compiler itself, but several modifications that MS does to the final EXE (segments organization, etc.)\n\nI have seen that inspecting the EXEs with PEInfo and similar apps\n\n[url:364kc6u9]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/peinfo&#46;exe[/url:364kc6u9]", "time": "12:37", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI still don't understand... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nAnyway, what is the solution?\n\nEMG", "time": "13:00", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico,\n\nNever mind <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nFirst of all we need to be able to reproduce it. Up to now I haven't be able to reproduce it. Here it is working fine <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "13:14", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nIt will not build with that in the .rc file because Visual Studio creates it's own manifest file, and thus the conflict throws a linker error.\n\nTim", "time": "23:54", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-23", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Enrico Maria Giordano\":1qs1jhqf]Antonio,\n\nYes, I'm using BCC690 but how the C compiler could make any difference? I don't understand... <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( -->\n\nEMG[/quote:1qs1jhqf]\nOff-topic.\nI am using bcc582.\nAre there any advantages in using bcc690 and where can I get it from?", "time": "05:36", "topic": "Checkbox text disappears Harbour/MSVC", "username": "nageswaragunupudi" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim\n\nI remember a similar problem in folders when the dialog had a \"Capion\" clausure, try to remove it and see if it makes a difference.\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27601&p=154059&hilit=caption#p154059\">viewtopic.php?f=3&t=27601&p=154059&hilit=caption#p154059</a><!-- l -->\n\nHth\n\nRichard", "time": "07:58", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Richard Chidiak" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Rao,\n\n[quote=\"nageswaragunupudi\":318d6a9u]Off-topic.\nI am using bcc582.\nAre there any advantages in using bcc690 and where can I get it from?[/quote:318d6a9u]\n\nAt least it's an updated version. You can try it from here:\n\n[url:318d6a9u]http&#58;//www&#46;whosaway&#46;com[/url:318d6a9u]\n\nEMG", "time": "10:39", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Enrico Maria Giordano" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-24", "forum": "FiveWin for Harbour/xHarbour", "text": "The issue becomes more complex. I began to wonder if perhaps the control should be True for TRANSPARENT ( the autocheckbox ) so I tried clicking on that property. Visual Studio wants to rebuild the .rc, and does a nice job of it, but then when trying to build it can't find the definitions for WS_POPUP which is a standard windows style. \n\nSo ... to use the windows controls, there must be a library I am missing, or an include file, for compiling the .rc within Visual Studio. More likely there is a configuration property that I am missing which would automatically bring in the include files.\n\nIf I use Windows.h ( which the builder eliminates ), it has a parameter RC_INVOKED which is evidently set by NOWINRES but I can't see where to set this.\n\nAntonio, thoughts on this ? I know one other thread said we couldn't use the Resource Editor in VS 2013, but we should be able to get past this. It's a good tool.\n\nTim", "time": "03:15", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nI just tested this example using FWH 15.02 and FWH\\samples\\buildh32.bat:\n\ntest.prg\n[code=fw:3vds4ju8]<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 />&nbsp; &nbsp;<span style=\"color: #00C800;\">local</span> oDlg, lValue := .T.<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">RESOURCE</span> <span style=\"color: #ff0000;\">\"test\"</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lValue <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">return</span> <span style=\"color: #00C800;\">nil</span></div>[/code:3vds4ju8]\n\ntest.rc\n[code=fw:3vds4ju8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <windows.h><br /><br />LANGUAGE <span style=\"color: #000000;\">0</span>, SUBLANG_NEUTRAL<br />test <span style=\"color: #0000ff;\">DIALOG</span> <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">255</span>, <span style=\"color: #000000;\">138</span><br /><span style=\"color: #0000ff;\">STYLE</span> DS_3DLOOK | DS_CENTER | DS_MODALFRAME | DS_SHELLFONT | WS_CAPTION | WS_VISIBLE | WS_POPUP | WS_SYSMENU<br />CAPTION <span style=\"color: #ff0000;\">\"Dialog\"</span><br /><span style=\"color: #0000ff;\">FONT</span> <span style=\"color: #000000;\">8</span>, <span style=\"color: #ff0000;\">\"Ms Shell Dlg\"</span><br /><span style=\"color: #000000;\">&#123;</span><br />&nbsp; &nbsp; AUTOCHECKBOX &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Checkbox\"</span>, <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">94</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">48</span>, <span style=\"color: #000000;\">8</span>, <span style=\"color: #000000;\">0</span>, WS_EX_LEFT<br />&nbsp; &nbsp; DEFPUSHBUTTON &nbsp; <span style=\"color: #ff0000;\">\"OK\"</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">67</span>, <span style=\"color: #000000;\">112</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">14</span>, <span style=\"color: #000000;\">0</span>, WS_EX_LEFT<br />&nbsp; &nbsp; PUSHBUTTON &nbsp; &nbsp; &nbsp;<span style=\"color: #ff0000;\">\"Cancel\"</span>, <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">112</span>, <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">14</span>, <span style=\"color: #000000;\">0</span>, WS_EX_LEFT<br /><span style=\"color: #000000;\">&#125;</span></div>[/code:3vds4ju8]\n\nAnd it is working fine. Could you try this example there ? thanks", "time": "12:44", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-24", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\n1) Please remember that I am trying to get this working with Visual Studio 2013 itself ( the IDE ). Using a make file is different. Especially for the future, we want ALL settings correct in VS 2013 ( and soon 2015 ).\n\n2) With that said, I looked at your build file and noticed that I have several additional libraries linked in:\n\n hbssl.lib, hbtipssl.lib, and ws2_32.lib are needed for email\n libeay32.lib and ssleay32.lib are necessary for additional functionality\n\n gtwin.ib, libcmt.lib, libcpmt.lib and oldnames32.lib are ones you recommended previously. I'm wondering if they are still needed, and perhaps one of them is conflicting here.\n\nTim", "time": "18:47", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\n\nI've spent the day researching this and testing.\n\n1) If I build the project inside UE Studio, using their .mak system, the controls work properly.\n2) If I build the project inside MSFT Visual Studio 2013 with it's IDE, the controls behave as noted\n3) The .prg, .rc, and .lib files used are exactly the same in both cases.\n\nThus, the problem has to be in the Properties of the VS 2013 build. Some option is different, but I have been unable to determine what it is.\n\nI will look at it further tomorrow. If you have any ideas please let me know. Perhaps you can try building it within VS in the same way using one of your samples and see what you get. If it works properly, you could send me the settings you are using. I think what I have now is pretty much what you shared when you built the initial projects using it.\n\nTim", "time": "03:43", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nSolved. All you have to do is add \n\n1 24 WindowsXP.Manifest to your resource file\n\n[img:ktcpyyw4]https&#58;//bitbucket&#46;org/fivetech/screenshots/downloads/visual_studio_community_FWH_1&#46;JPG[/img:ktcpyyw4]", "time": "08:46", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-25", "forum": "FiveWin for Harbour/xHarbour", "text": "When I do that, and try to build, it generates: \n\n1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409\n\nThat is solved by giving the manifest a different id: 2 24 which allows it to then build without error.\n\nHowever, it does not take away the problem ! \n\nDo you have a file with your project settings. It has to be in the VS Properties for the project. I can post the command lines it generates if you wish.\n\nTim", "time": "18:14", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-25", "forum": "FiveWin for Harbour/xHarbour", "text": "Here are some of the command lines in my setup:\n\nGeneral:\n\n[code=fw:35cwsffk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />Platform Toolset : <span style=\"color: #000000;\">Visual</span> Studio <span style=\"color: #000000;\">2013</span> <span style=\"color: #000000;\">&#40;</span> v120 <span style=\"color: #000000;\">&#41;</span><br />Enable Managed Incremental Build : <span style=\"color: #000000;\">No</span><br />Configuration Type : &nbsp;<span style=\"color: #000000;\">Application</span> <span style=\"color: #000000;\">&#40;</span>.exe<span style=\"color: #000000;\">&#41;</span><br />Use <span style=\"color: #0000ff;\">of</span> MFC : &nbsp;<span style=\"color: #000000;\">Use</span> Standard Windows Libraries<br />Character Set : <span style=\"color: #000000;\">Use</span> Unicode Character Set<br />Common Language Runtime Support: &nbsp;<span style=\"color: #000000;\">No</span> Common Language Runtime Support<br />Whole Program Optimization : &nbsp;<span style=\"color: #000000;\">No</span> Whole Program Optimization<br />Windows Store App Support : <span style=\"color: #000000;\">No</span><br />&nbsp;</div>[/code:35cwsffk]\n\nLinker\n\n[code=fw:35cwsffk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />/OUT:<span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\P</span>rojects VS<span style=\"color: #000000;\">\\M</span>LS Service Writer 10<span style=\"color: #000000;\">\\R</span>elease<span style=\"color: #000000;\">\\M</span>LS Service Writer 10.exe\"</span> /MANIFEST /FORCE:<span style=\"color: #000000;\">MULTIPLE</span> /NXCOMPAT /PDB:<span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\P</span>rojects VS<span style=\"color: #000000;\">\\M</span>LS Service Writer 10<span style=\"color: #000000;\">\\R</span>elease<span style=\"color: #000000;\">\\M</span>LS Service Writer 10.pdb\"</span> /DYNAMICBASE /DEBUG /MACHINE:<span style=\"color: #000000;\">X86</span> /OPT:<span style=\"color: #000000;\">REF</span> /SAFESEH /INCREMENTAL /PGD:<span style=\"color: #ff0000;\">\"C:<span style=\"color: #000000;\">\\P</span>rojects VS<span style=\"color: #000000;\">\\M</span>LS Service Writer 10<span style=\"color: #000000;\">\\R</span>elease<span style=\"color: #000000;\">\\M</span>LS Service Writer 10.pgd\"</span> /SUBSYSTEM:<span style=\"color: #000000;\">WINDOWS</span> /MANIFESTUAC:<span style=\"color: #ff0000;\">\"level='asInvoker' uiAccess='false'\"</span> /ManifestFile:<span style=\"color: #ff0000;\">\"Release<span style=\"color: #000000;\">\\M</span>LS Service Writer 10.exe.intermediate.manifest\"</span> /OPT:<span style=\"color: #000000;\">ICF</span> /ERRORREPORT:<span style=\"color: #0000ff;\">PROMPT</span> /NOLOGO /TLBID:<span style=\"color: #000000;\">1</span> <br />&nbsp;</div>[/code:35cwsffk]\n\nC/C++\n\n[code=fw:35cwsffk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />/GS /analyze- /W3 /Gy /Zc:<span style=\"color: #000000;\">wchar_t</span> /I<span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\f</span>wh<span style=\"color: #000000;\">\\i</span>nclude\"</span> /I<span style=\"color: #ff0000;\">\"c:<span style=\"color: #000000;\">\\h</span>arbour<span style=\"color: #000000;\">\\i</span>nclude\"</span> /Zi /Gm- /O2 /sdl- /Fd<span style=\"color: #ff0000;\">\"Release<span style=\"color: #000000;\">\\v</span>c120.pdb\"</span> /fp:<span style=\"color: #000000;\">precise</span> /D <span style=\"color: #ff0000;\">\"WIN32\"</span> /D <span style=\"color: #ff0000;\">\"NDEBUG\"</span> /D <span style=\"color: #ff0000;\">\"_WINDOWS\"</span> /D <span style=\"color: #ff0000;\">\"_UNICODE\"</span> /D <span style=\"color: #ff0000;\">\"UNICODE\"</span> /errorReport:<span style=\"color: #0000ff;\">prompt</span> /WX- /Zc:<span style=\"color: #000000;\">forScope</span> /Gd /Oy- /Oi /MD /Fa<span style=\"color: #ff0000;\">\"Release<span style=\"color: #000000;\">\\\"</span> /EHsc /nologo /Fo\"</span><span style=\"color: #0000ff;\">Release</span>\\<span style=\"color: #ff0000;\">\" /Fp\"</span><span style=\"color: #0000ff;\">Release</span>\\MLS Service Writer <span style=\"color: #000000;\">10</span>.pch<span style=\"color: #ff0000;\">\" <br /></span></div>[/code:35cwsffk]\n\nManifest\n\n[code=fw:35cwsffk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />/verbose /out:<span style=\"color: #ff0000;\">\"Release<span style=\"color: #000000;\">\\M</span>LS Service Writer 10.exe.embed.manifest\"</span> /nologo <span style=\"color: #ff0000;\">\"Release<span style=\"color: #000000;\">\\M</span>LS Service Writer 10.exe.embed.manifest.res\"</span> <br />&nbsp;</div>[/code:35cwsffk]\n\nResources\n\n[code=fw:35cwsffk]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />/D <span style=\"color: #ff0000;\">\"_UNICODE\"</span> /D <span style=\"color: #ff0000;\">\"UNICODE\"</span> /l 0x0409 /nologo /fo<span style=\"color: #ff0000;\">\"Release<span style=\"color: #000000;\">\\%</span>(Filename).res\"</span> <br />&nbsp;</div>[/code:35cwsffk]", "time": "18:38", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nHere you have my working project:\n\n[url:6x6tb91y]https&#58;//bitbucket&#46;org/fivetech/fivewin-contributions/downloads/tim_project&#46;zop[/url:6x6tb91y]", "time": "22:55", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-27", "forum": "FiveWin for Harbour/xHarbour", "text": "It would be far easier if you could do what I did above, and just cut and paste the items in an email.\n\nThe project build file is a bit different and not exactly easy to compare. I tried.\n\nI simply went into each section in properties for the project, selected COMMAND LINE, and did a cut and paste. If you do that in an email, I'll do the comparison and will likely find what is different.\n\nI really appreciate it.\n\nTim", "time": "23:37", "topic": "Checkbox text disappears Harbour/MSVC", "username": "TimStone" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nC/C++\n[quote:1u1vcz1n]/GS /analyze- /W3 /Zc:wchar_t /ZI /Gm /Od /Fd\"Debug\\vc120.pdb\" /fp:precise /D \"WIN32\" /D \"_DEBUG\" /D \"_WINDOWS\" /D \"_UNICODE\" /D \"UNICODE\" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /Fa\"Debug\\\" /EHsc /nologo /Fo\"Debug\\\" /Fp\"Debug\\tutor01.pch\" [/quote:1u1vcz1n]\n\nLinker\n[quote:1u1vcz1n]/OUT:\"c:\\soporte\\Debug\\tutor01.exe\" /MANIFEST /NXCOMPAT /PDB:\"c:\\soporte\\Debug\\tutor01.pdb\" /DYNAMICBASE \"kernel32.lib\" \"user32.lib\" \"gdi32.lib\" \"winspool.lib\" \"comdlg32.lib\" \"advapi32.lib\" \"shell32.lib\" \"ole32.lib\" \"oleaut32.lib\" \"uuid.lib\" \"odbc32.lib\" \"odbccp32.lib\" /DEBUG /MACHINE:X86 /INCREMENTAL /PGD:\"c:\\soporte\\Debug\\tutor01.pgd\" /SUBSYSTEM:WINDOWS /MANIFESTUAC:\"level='asInvoker' uiAccess='false'\" /ManifestFile:\"Debug\\tutor01.exe.intermediate.manifest\" /ERRORREPORT:PROMPT /NOLOGO /TLBID:1 [/quote:1u1vcz1n]\n\nManifest\n[quote:1u1vcz1n]/verbose /out:\"Debug\\tutor01.exe.embed.manifest\" /nologo \"Debug\\tutor01.exe.embed.manifest.res\" [/quote:1u1vcz1n]\n\nResources\n[quote:1u1vcz1n]/D \"_UNICODE\" /D \"UNICODE\" /l 0x0409 /nologo /fo\"Debug\\%(Filename).res\" [/quote:1u1vcz1n]", "time": "07:50", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2015-02-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nIf you can't find the difference all that I can think about is to have a TeamViewer session with you and I will build my example on your Visual Studio remotely.\n\nAnyhow tomorrow I am flying to Barcelona and I wont be back until March 9. If I can get a good internet connection in Barcelona then we could do the TeamViewer session from there.", "time": "07:54", "topic": "Checkbox text disappears Harbour/MSVC", "username": "Antonio Linares" } ]
Checkbox text disappears Harbour/MSVC
[ { "date": "2011-11-19", "forum": "FiveWin for Harbour/xHarbour", "text": "I have a checkbox that is transparent win 7 not win xp. Using resources, Transparent set at the define dialog. \nAll workinhg fine except not in windows XP. Any ideas.\n\nThanks in advance", "time": "22:18", "topic": "Checkbox transparent win 7 not win xp", "username": "hag" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Harvey,\n\nmaybe a transparent-problem with Resources ?\n\nI changed all my Checkboxes using TSelex ( looks much better ).\n\nor use a extra SAY and resize the Checkbox as small as possible :\n\n[color=#0000FF:1tz3f94y]REDEFINE CHECKBOX oCheck2 VAR lCheck2 ID 230 OF oDlg1 UPDATE[/color:1tz3f94y]\nadd a extra SAY :\n[color=#0000FF:1tz3f94y]REDEFINE SAY oSay1 VAR cSay1 ID 231 OF oDlg1 FONT oFootFont COLOR 128[/color:1tz3f94y]\n\nTSelex-Resource :\n\n[color=#0000FF:1tz3f94y]CONTROL \"\", 220, \"TSELEX\", 0 | WS_CHILD | WS_VISIBLE, 211, 83, 58, 28[/color:1tz3f94y]\n\n[img:1tz3f94y]http&#58;//www&#46;pflegeplus&#46;com/pictures/selex1&#46;jpg[/img:1tz3f94y]\n\n[code=fw:1tz3f94y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #0000ff;\">REDEFINE</span> SELEX oSelect <span style=\"color: #0000ff;\">VAR</span> nOption1 <span style=\"color: #0000ff;\">OF</span> oDlg1 <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">220</span>;<br /><span style=\"color: #0000ff;\">ITEMS</span> <span style=\"color: #ff0000;\">\"&ON\"</span>, <span style=\"color: #ff0000;\">\"&OFF\"</span>;<br />GRADIENT OUTTRACK <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16443068</span>, <span style=\"color: #000000;\">16312263</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />     <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.5</span>, <span style=\"color: #000000;\">16312263</span>, <span style=\"color: #000000;\">16443068</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> ;<br />GRADIENT INTRACK <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">5426223</span>, <span style=\"color: #000000;\">1071100</span> <span style=\"color: #000000;\">&#125;</span>, ;<br />     <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1071100</span>, <span style=\"color: #000000;\">5426223</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span> ;<br />THUMBSIZE <span style=\"color: #000000;\">20</span>, <span style=\"color: #000000;\">20</span> ROUNDSIZE <span style=\"color: #000000;\">5</span> ;<br /><span style=\"color: #0000ff;\">COLOR</span> THUMB <span style=\"color: #000000;\">14853684</span> ;<br />COLORTEXT <span style=\"color: #000000;\">128</span>, <span style=\"color: #000000;\">32768</span> ; <br /><span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Select\"</span> TOP ;<br /><span style=\"color: #0000ff;\">FONT</span> oFootFont ;<br /><span style=\"color: #0000ff;\">ACTION</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> nOption1 == <span style=\"color: #000000;\">2</span>, oDlg1:<span style=\"color: #000000;\">End</span><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 /> </div>[/code:1tz3f94y]\n\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "00:50", "topic": "Checkbox transparent win 7 not win xp", "username": "ukoenig" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe:\nUsing the say worked fine. Thanks.\nJust one more color problem. The transparent clause doesn't work with an undefined group.\nAny suggestions?", "time": "08:38", "topic": "Checkbox transparent win 7 not win xp", "username": "hag" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-20", "forum": "FiveWin for Harbour/xHarbour", "text": "Harvey,\n\nusing Resources, the same transparent-problem like Checkboxes.\n( doesn't work on Dlg-ON INIT or PAINT )\n\nMaybe You can include Class [color=#FF0000:mijn61vm]SBUTTON[/color:mijn61vm] from Manuel Mercado ?\nusing Resources works fine for Lines, Groups and Boxes like You can see.\nI will have a look at my Tool ( Screenshot ), doing some more work on it.\n\n[img:mijn61vm]http&#58;//www&#46;pflegeplus&#46;com/pictures/sbutton1&#46;jpg[/img:mijn61vm]\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "12:08", "topic": "Checkbox transparent win 7 not win xp", "username": "ukoenig" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Harvey,\n\nit seems to be a Brush-painting-problem of Resources.\nMoving a Color-define from Dlg-INIT like :\n\n[color=#0000FF:1emq9k55]DEFINE DIALOG oDlg1 RESOURCE \"Selection\" TRANSPARENT[/color:1emq9k55]\n...\n// COLOR\n// -----------\nDEFINE BRUSH oBrush COLOR 16443068\n\n// BMP-BRUSH\n// -----------\n// DEFINE BRUSH oBrush FILE c_path + \"\\Images\\BluStone.Bmp\"\n\n/*\n// GRADIENT\n// ---------------\naGrad := { { 0.5, 10899511, 16443068 }, { 0.5, 16443068, 10899511 } }\nhDC = CreateCompatibleDC( oDlg1:GetDC() )\nhBmp = CreateCompatibleBitMap( oDlg1:hDC, 200, 600 )\nhBmpOld = SelectObject( hDC, hBmp )\nGradientFill( hDC, 0, 0, 600, 200, aGrad, .T. )\nDeleteObject( oDlg1:oBrush:hBrush )\noBrush := TBrush():New( ,,,, hBmp )\noBrush:Cargo := aGrad\nSelectObject( hDC, hBmpOld )\nReleaseDC(hDC)\n*/\n\noDlg1:SetBrush( oBrush )\n...\n[color=#0000FF:1emq9k55]ACTIVATE DIALOG oDlg1 CENTERED ;\nON INIT ( oDlg1:Move( 30, 10, oDlg1:nWidth, oDlg1:nHeight, .f. ), oBrw1:SetFocus() )[/color:1emq9k55]\n...\n\n[img:1emq9k55]http&#58;//www&#46;pflegeplus&#46;com/pictures/transp10&#46;jpg[/img:1emq9k55]\n\n[color=#FF0000:1emq9k55]works, but only for COLORS !!!\nusing BMP-brush or Gradient, the Group covers the Checkboxes [/color:1emq9k55]\n\n[img:1emq9k55]http&#58;//www&#46;pflegeplus&#46;com/pictures/transp11&#46;jpg[/img:1emq9k55]\n\n[img:1emq9k55]http&#58;//www&#46;pflegeplus&#46;com/pictures/transp12&#46;jpg[/img:1emq9k55]\n\nBest Regards\nUwe <!-- s:?: --><img src=\"{SMILIES_PATH}/icon_question.gif\" alt=\":?:\" title=\"Question\" /><!-- s:?: -->", "time": "10:47", "topic": "Checkbox transparent win 7 not win xp", "username": "ukoenig" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-21", "forum": "FiveWin for Harbour/xHarbour", "text": "There seems to be a problem with ascending Field-order from Resource.\nChanging the Order : lowest = Group / higher = Checkboxes, it works .\nA higher Group ID covers the included Controls.\n\n[img:3ruwokcs]http&#58;//www&#46;pflegeplus&#46;com/pictures/transp14&#46;jpg[/img:3ruwokcs]\n\nBest regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "20:06", "topic": "Checkbox transparent win 7 not win xp", "username": "ukoenig" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe\nThanks for all the input. I'll be working on it in next couple of days. I'll keep you posted.\n\nRegards", "time": "20:37", "topic": "Checkbox transparent win 7 not win xp", "username": "hag" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-21", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe, \n\nThanks for your superb help as usual <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "23:37", "topic": "Checkbox transparent win 7 not win xp", "username": "Antonio Linares" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank You very much for the Response,\n\nmy new extended Res.-Tester will cover and test \nall Controls ( [color=#FF0000:uvg6lzpr]transparent Painting [/color:uvg6lzpr])\nThere will be a complete new Download-file\n[color=#0000FF:uvg6lzpr]A Resource-tester is still missing in my Tool-Collection !!![/color:uvg6lzpr]\n\nTesting :\n1. Groups, Radios and Checkboxes on different [color=#FF0000:uvg6lzpr]Dialog[/color:uvg6lzpr]-backgrounds\n2. Groups, Radios and Checkboxes on different [color=#FF0000:uvg6lzpr]TFoldex[/color:uvg6lzpr]-backgrounds\n\nThe Dialog-background and Textcolor can be defined from the xBrowse-selection.\n\n[img:uvg6lzpr]http&#58;//www&#46;pflegeplus&#46;com/pictures/resource5&#46;jpg[/img:uvg6lzpr]\n\nBest Regards\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "16:27", "topic": "Checkbox transparent win 7 not win xp", "username": "ukoenig" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe:\nYou have been great helping me out.\nNot using gradient....can't get it to work. \n\nBut one more qusetion. How can you color: msfInfo(), MsgAlert(), msgget(), msgYesNo() etc.\n\nThanks for the help.", "time": "22:26", "topic": "Checkbox transparent win 7 not win xp", "username": "hag" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2011-11-22", "forum": "FiveWin for Harbour/xHarbour", "text": "Harvey,\nGradient works fine. You can have a closer look, as soon I finished the new Tool for Download. \n\nMsgAlert , MsgYesNo ... is Window-standard.\nYou can create Your own fancy Messages, or have a look at the post from Ramesh :\n\n[color=#FF0000:2qh790kz][b:2qh790kz]Ramesh Babu P[/b:2qh790kz][/color:2qh790kz]-Functions :\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22834\">viewtopic.php?f=3&t=22834</a><!-- l -->\n\n[img:2qh790kz]http&#58;//www&#46;pflegeplus&#46;com/pictures/Mymsgboxp&#46;jpg[/img:2qh790kz]\n\nTools :\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22226&p=118317&hilit=message+tool#p118317\">viewtopic.php?f=3&t=22226&p=118317&hilit=message+tool#p118317</a><!-- l -->\n\n[img:2qh790kz]http&#58;//www&#46;pflegeplus&#46;com/pictures/MsgHelp&#46;jpg[/img:2qh790kz]\n\nBest Regards\nUwe <!-- s:roll: --><img src=\"{SMILIES_PATH}/icon_rolleyes.gif\" alt=\":roll:\" title=\"Rolling Eyes\" /><!-- s:roll: -->", "time": "23:14", "topic": "Checkbox transparent win 7 not win xp", "username": "ukoenig" } ]
Checkbox transparent win 7 not win xp
[ { "date": "2009-10-19", "forum": "FiveWin para Harbour/xHarbour", "text": "Tengo el problema de haber puesto un gradiente como fondo de un diálogo, y aunque en los recurso le indico que el checkbox es transparente, así como le marco .t. la propiedad ltransparent, al final en tiempo de ejecución me sale con el color de fondo de windows.\n¿Hay forma de hacerlo transparente?\nGracias y un saludo\nJosé Luis", "time": "09:26", "topic": "Checkbox transparente", "username": "groiss" } ]
Checkbox transparente
[ { "date": "2009-10-21", "forum": "FiveWin para Harbour/xHarbour", "text": "try this \noChk:=array(n)\n\nlchk:=.f.\n\nx,y CHECKBOX oChk Var lChk ......\n\n\nochk[1]:ltransparent.=.t.", "time": "10:40", "topic": "Checkbox transparente", "username": "Silvio" } ]
Checkbox transparente
[ { "date": "2009-10-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Gracias Silvio, así lo hice y no he conseguido que sea transparente.\nUn saludo\nJosé Luis", "time": "13:00", "topic": "Checkbox transparente", "username": "groiss" } ]
Checkbox transparente
[ { "date": "2009-10-21", "forum": "FiveWin para Harbour/xHarbour", "text": "there is also a sample on samples folder !!!!!!!!", "time": "13:09", "topic": "Checkbox transparente", "username": "Silvio" } ]
Checkbox transparente
[ { "date": "2009-10-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Silvio el checkbox lo tengo creado desde recursos, ¿no será eso un problema?\nUn saludo\nJosé Luis", "time": "13:27", "topic": "Checkbox transparente", "username": "groiss" } ]
Checkbox transparente
[ { "date": "2009-10-22", "forum": "FiveWin para Harbour/xHarbour", "text": "no es the same", "time": "11:10", "topic": "Checkbox transparente", "username": "Silvio" } ]
Checkbox transparente
[ { "date": "2012-10-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Is there a way to get a checkbox with three states, On, Off, and as before? This is as used in windows explorer for read only checkbox in properties etc.\n\nThanks,\nAlex", "time": "13:23", "topic": "Checkbox with three states", "username": "AlexSchaft" } ]
Checkbox with three states
[ { "date": "2012-10-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, use BS_AUTO3STATE style for the checkbox.\n\nEMG", "time": "13:45", "topic": "Checkbox with three states", "username": "Enrico Maria Giordano" } ]
Checkbox with three states
[ { "date": "2012-10-23", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nThank you, I actually found the sample as well. Had to modify the refresh method in checkbox.prg though, as most of that class is not aware of that style.\n\nAlex", "time": "14:20", "topic": "Checkbox with three states", "username": "AlexSchaft" } ]
Checkbox with three states
[ { "date": "2008-03-05", "forum": "FiveWin para Harbour/xHarbour", "text": "<!-- m --><a class=\"postlink\" href=\"http://www.mediafire.com/imageview.php?quickkey=dmdip477dmd&thumb=4\">http://www.mediafire.com/imageview.php? ... md&thumb=4</a><!-- m -->\n\nEn Capelblog vi que ourXdbu, esta herramienta maravillosa para manejo de tablas, està desarrollada en fwhx y xharbour...\n\nEn sus browses podemos ver hermosos chechboxes en los campos lógicos y botones con dtpickers en los campos de fecha.\n\nMe gustarìa saber, si estos excelentes programadores quisieran compartir con nosotros como podemos obtener este hermoso efecto, o al menos darme unas pistas..... o si otros programadores pueden hacerlo, valorarè su ayuda.\n\nGracias desde ya.", "time": "13:10", "topic": "Checkboxes and DTPicker in xBrowse", "username": "jose_murugosa" } ]
Checkboxes and DTPicker in xBrowse
[ { "date": "2008-03-05", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola José,\nMira a xBrowse <!-- s;) --><img src=\"{SMILIES_PATH}/icon_wink.gif\" alt=\";)\" title=\"Wink\" /><!-- s;) -->\nDesculpe pelo meu Español <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: -->", "time": "14:17", "topic": "Checkboxes and DTPicker in xBrowse", "username": "Vagner" } ]
Checkboxes and DTPicker in xBrowse
[ { "date": "2008-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\n\nwhen I compile following sample, the checkboxes and their text disappear pressing ALT, when I entered the dialog by using a mouse click. It looks like the dialog is being repainted as the underlines appear, but the text disappears at the same time.\nIt only happens on a Vista PC with Vista Design.\nIs there a fix possible?\n\nI also uploaded a compiled exe: [url:1p114lln]http&#58;//www&#46;ctosoftware&#46;de/ftp/sample/testcto&#46;exe[/url:1p114lln] \n\n[code:1p114lln]\n#include \"Fivewin&#46;ch\"\n\nSTATIC owin\nFUNCTION MAIN&#40;&#41;\n DEFINE WINDOW oWin FROM 1, 5 TO 20, 100;\n TITLE \"CHECHBOX Problem This programm is done with manifest, Problem only with VISTA\"\n activate window owin maximized on init test2&#40;&#41;\nRETURN NIL\n\nstatic function test1&#40;&#41;\n LOCAL oDlg\n LOCAL oChk, lChk &#58;= &#46;F&#46;, lChk2 &#58;= &#46;t&#46;\n DEFINE DIALOG oDlg of owin FROM 1, 5 TO 20, 70;\n TITLE \"NOW push alt key! Problem only with VISTA &#40;Compiled with Fw710 / xharbour 2007&#41;\"\n @ 0&#46;7, 1 CHECKBOX oChk VAR lChk\n @ 2, 1 CHECKBOX lChk2 OF oDlg\n @ 3, 1 BUTTON \"&Close\" ACTION oDlg&#58;End&#40;&#41;\n ACTIVATE DIALOG oDlg;\n CENTER\nreturn nil\n\nstatic function test2&#40;&#41;\n LOCAL oDlg\n LOCAL oChk, lChk &#58;= &#46;F&#46;, lChk2 &#58;= &#46;t&#46;\n DEFINE DIALOG oDlg of owin FROM 1, 5 TO 20, 70;\n TITLE \"Push this botton by mouse, Problem only with VISTA\"\n @ 0&#46;7, 1 CHECKBOX oChk VAR lChk\n @ 2, 1 CHECKBOX lChk2 OF oDlg\n @ 3, 1 SAY \"Start this dialog by mouse und than push ALT to see checkbox disappearing\"\n @ 3&#46;5, 1 BUTTON \"Click with mouse\" ACTION test1&#40;&#41;\n ACTIVATE DIALOG oDlg;\n CENTER\nreturn nil\n[/code:1p114lln]", "time": "14:36", "topic": "Checkboxes disappear pressing ALT in Vista", "username": "gkuhnert" } ]
Checkboxes disappear pressing ALT in Vista
[ { "date": "2008-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Gilbert,\n\nWhat FWH version are you using ?\n\nYou example built with FWH 8.03 is working fine here.", "time": "14:50", "topic": "Checkboxes disappear pressing ALT in Vista", "username": "Antonio Linares" } ]
Checkboxes disappear pressing ALT in Vista
[ { "date": "2008-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "We're using FWH710\nCan you send me an executable .exe so I can test it?\nMy e-Mailadress is: kuhnert(at)ctosoftware.de", "time": "14:52", "topic": "Checkboxes disappear pressing ALT in Vista", "username": "gkuhnert" } ]
Checkboxes disappear pressing ALT in Vista
[ { "date": "2008-04-07", "forum": "FiveWin for Harbour/xHarbour", "text": "Gilbert,\n\nYou have to add this code to the Class TControl Method HandleEvent():\n[code:1r40zxhd]\n#define WM_UPDATEUISTATE 0x0128\n&#46;&#46;&#46;\n case nMsg == WM_UPDATEUISTATE\n nResult = Super&#58;HandleEvent&#40; nMsg, nWParam, nLParam &#41; \n &#58;&#58;oWnd&#58;Refresh&#40;&#41;\n return nResult\n[/code:1r40zxhd]", "time": "15:18", "topic": "Checkboxes disappear pressing ALT in Vista", "username": "Antonio Linares" } ]
Checkboxes disappear pressing ALT in Vista