messages
listlengths
1
1
topic
stringlengths
2
60
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Günther,\r\n\r\nMy test with Dialog-gradient-background : not transparent.\r\n\r\n[img:24niukrm]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradient5&#46;jpg[/img:24niukrm]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "23:45", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe, thats not transparent!?\r\nAnd also the SAYS with clausula UPDATE are not transparent, when the text are updated!", "time": "23:47", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Günther,\r\n\r\nAll tests in Dialog and Folder :\r\n\r\nDialog and Folder with Gradient :\r\nFolder is OK.\r\n\r\n[img:1bb4i9ie]http&#58;//www&#46;pflegeplus&#46;com/pictures/gradient80&#46;jpg[/img:1bb4i9ie]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "23:58", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\r\n\r\n>\r\nI am using not a bitmap as background! \r\nI use as background: ... gradientfill()\r\n>\r\n\r\nThen the transparent clause does not work \r\n\r\nWe have previously commented this issue on these forums. It is a Windows limitation:\r\n\r\n<!-- m --><a class=\"postlink\" href=\"http://forums.fivetechsoft.com/viewtopic.php?t=12117\">http://forums.fivetechsoft.com/viewtopic.php?t=12117</a><!-- m -->", "time": "01:33", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello,\r\n\r\nI did some tests with Dialog and Transparent :\r\nThe 2. Dialog captured the gradient from Dialog 1.\r\nCheckbox and Radio are transparent.\r\n\r\n[img:3m716txt]http&#58;//www&#46;pflegeplus&#46;com/pictures/dlgtest1&#46;jpg[/img:3m716txt]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "13:42", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe, please show me the source!", "time": "13:53", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\nI guess you are using a NULL brush, so there is no background brush and the one from the main dialog is seen", "time": "14:00", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, is it possible to create a bmp from the gradientfill() function? The gradient colors for the background are from user and i will paint the dialog with this colors.", "time": "14:55", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\nAnother test. The Test-Dialog-gradient is complete different to the others.\r\nThe Dialog uses the normal Gradient-function as background.\r\n\r\nsample 1\r\n[img:q0sw9dhv]http&#58;//www&#46;pflegeplus&#46;com/pictures/testtrans1&#46;jpg[/img:q0sw9dhv]\r\n\r\nsample 2\r\n[img:q0sw9dhv]http&#58;//www&#46;pflegeplus&#46;com/pictures/testtrans2&#46;jpg[/img:q0sw9dhv]\r\n\r\nImage - test\r\n[img:q0sw9dhv]http&#58;//www&#46;pflegeplus&#46;com/pictures/testtrans3&#46;jpg[/img:q0sw9dhv]\r\n\r\n[code:q0sw9dhv]\n\n// ---------- PREVIEW -------------------------------------\n\nFUNCTION NEW_SOURCE&#40;oWnd1&#41;\nLOCAL oDlg5, oBtn50, oBtn51, oBtn52, oBtn53, oTITLE30\n\nDEFINE DIALOG oDlg5 RESOURCE \"Test\" OF oWnd TITLE \"Windows- / Dialog-Test and Source\" FONT oProgFont\n\nREDEFINE BUTTONBMP oBtn50 ID 50 OF oDlg5 ;\nACTION &#40; TEST_TRANS &#40; oDlg5 &#41; &#41; ;\nBITMAP \"Notes\" PROMPT \" Dialog-Test\" TEXTRIGHT\noBtn50&#58;cToolTip = &#123; \"Show\" + CRLF + ;\n \"BMP-Transparent\",\"BMP\", 1, CLR_BLACK, 14089979 &#125; \n\n\nREDEFINE BUTTONBMP oBtn51 ID 40 OF oDlg5 ;\nACTION &#40; BITMAP_DAT &#40; oDlg5 &#41; &#41; ;\nBITMAP \"Notes\" PROMPT \" BMP-View\" TEXTRIGHT\noBtn51&#58;cToolTip = &#123; \"Show\" + CRLF + ;\n \"Background-BMP\",\"BMP\", 1, CLR_BLACK, 14089979 &#125; \n\n\nREDEFINE BUTTONBMP oBtn52 ID 30 OF oDlg5 ;\nACTION &#40; SOURCE_DAT &#40; oDlg5 &#41; &#41; ;\nBITMAP \"Notes\" PROMPT \" Source\" TEXTRIGHT\noBtn52&#58;cToolTip = &#123; \"Show\" + CRLF + ;\n \"Background-Source\",\"Source\", 1, CLR_BLACK, 14089979 &#125; \n\n\nREDEFINE BUTTONBMP oBtn53 ID 20 OF oDlg5 ;\nACTION &#40; oDlg5&#58;End&#40;&#41; &#41; ;\nBITMAP \"Quit\" PROMPT \" Exit\" TEXTRIGHT\noBtn53&#58;cToolTip = &#123; \"Close\" + CRLF + ;\n \"the Dialog\",\"Background-Test\", 1, CLR_BLACK, 14089979 &#125; \n\nACTIVATE DIALOG oDlg5 CENTERED ;\nON INIT NEW_COLOR3a&#40;oDlg5&#41; ;\nON PAINT&#40; IIF&#40; CLR_POS2 = 1, gradpaint2&#40; hDC, oDlg5 &#41;, NIL &#41;, ;\n IIF&#40; BR_POS3 = 17, SHOW_PIC2&#40; oDlg5 &#41;, NIL &#41; &#41;\n\noWnd1&#58;End&#40;&#41;\n\nRETURN&#40; NIL &#41;\n\n//------- BMP to Copy Gradient if needed ----------------------------//\n\nFUNCTION BITMAP_DAT&#40;oDlg5&#41;\nLOCAL oDlg6\n\nDEFINE DIALOG oDlg6 RESOURCE \"Bitmap\" OF oDlg5 TITLE \"BMP-Gradient\" FONT oProgFont\n\nACTIVATE DIALOG oDlg6 CENTERED ;\nON PAINT gradpaint2&#40; hDC, oDlg6 &#41; ;\n\nRETURN&#40; NIL &#41;\n\n// -----------------------------------\n\nFunction TEST_TRANS&#40;oDlg5&#41;\nLocal oDlg6, oBrush, oCbx, oRad, nVal &#58;= 1, lVal &#58;= &#46;T&#46;\n\nDEFINE BRUSH oBrush FILE \"Logo1&#46;bmp\"\n\nDEFINE DIALOG oDlg6 RESOURCE \"TestBMP\" OF oDlg5 BRUSH oBrush TRANSPARENT ;\nTITLE \"Transparent-Dialog-Test &#40; Gradient or Brush &#41;\" FONT oProgFont\n\nREDEFINE RADIO oRad VAR nVal ID 10 OF oDlg6\n \nREDEFINE CHECKBOX oCbx VAR lVal ID 20 OF oDlg6\n\n// selection\n// -----------\n// CLR_POS2 = 1 Gradient\n// CLR_POS2 = 17 Brush\n\nACTIVATE DIALOG oDlg6 CENTERED ;\nON PAINT&#40; IIF&#40; CLR_POS2 = 1, gradpaint2&#40; hDC, oDlg6 &#41;, NIL &#41;, ;\n IIF&#40; BR_POS3 = 17, SHOW_PIC2&#40; oDlg6 &#41;, NIL &#41; &#41;\n\nRETURN NIL \n\n// -----------------------------------------------\n\nstatic func gradpaint2&#40; hDC, oDlg &#41;\n\n// Color-Vars\n// ------------\nlocal aGrad1 &#58;= &#123; &#123; nMOVE2, BR_COLOR3, BR_COLOR4 &#125;, ;\n &#123; nMOVE2, BR_COLOR4, BR_COLOR3 &#125; &#125;\n\n// Style Hor&#46; or Vert&#46;\n// ---------------------\nIF BR_STYLE2 = 1\n\tGradientFill&#40; hDC, 0, 0, oDlg&#58;nHeight, oDlg&#58;nWidth, aGrad1, &#46;T&#46; &#41;\nELSE\n\tGradientFill&#40; hDC, 0, 0, oDlg&#58;nHeight, oDlg&#58;nWidth, aGrad1, &#46;F&#46; &#41;\nENDIF\n\nRETURN NIL\n\n// -----------------------------------\n\nFUNCTION SHOW_PIC2&#40; oDlg5 &#41;\nLOCAL oImage2\nLOCAL aRect &#58;= GETCLIENTRECT&#40; oDlg5&#58;hWnd &#41;\n\ncNEWLOGO &#58;= ALLTRIM&#40;cLOGO2&#41;\n\nIF BR_TYP2 = \"B\" // Brush-select\n IF ! Empty&#40; cNEWLOGO &#41; &#46;and&#46; File&#40; \"&cNEWLOGO\" &#41;\n DEFINE BRUSH oImage2 FILE \"&cNEWLOGO\"\n SET BRUSH OF oDlg5 TO oImage2\n ELSE\n MsgAlert&#40;\"No file selected !\",\"Attention\" &#41;\n ENDIF\nENDIF\nIF BR_TYP2 = \"I\" // Image-select\n IF ! Empty&#40; cNEWLOGO &#41; &#46;and&#46; File&#40; \"&cNEWLOGO\" &#41;\n @ 0, 0 IMAGE oImage2 SIZE aRect&#91;4&#93;, aRect&#91;3&#93; OF oDlg5 ADJUST\n oImage2&#58;LoadBmp&#40; \"&cNEWLOGO\" &#41;\n ELSE\n MsgAlert&#40;\"No file selected !\",\"Attention\" &#41;\n ENDIF\nENDIF\n\nRETURN&#40; NIL &#41;\n\n[/code:q0sw9dhv]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "15:18", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\nPlease run your tests in XP and see what you get\r\n\r\nOr, are you using XP with a different theme ?", "time": "20:30", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\r\n\r\nYou can use oDlg:SaveToBmp( cBmpFileName )", "time": "20:33", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nthe tests i'have done with VISTA.\r\n\r\nI tested with XP and Windows2000\r\n\r\nResult :\r\n\r\nXP : Radio and SAY is transparent. Checkbox not.\r\n\r\nWindows2000 : only SAY is transparent.\r\n\r\nIs there a solution for XP, maybe to get the checkbox working as well ?\r\n\r\nI still have a question about the text :\r\nFor the new release of the tool, to create the background for windows and \r\nDialog, i added some new functions.\r\nThere is a preview for RADIO, CHECKBOX and SAY added.\r\nAs well, there is a new small dialog, to create a gradient \r\nand then to cut and save the gradient as Bitmap to use as background ( with adjust ).\r\nI have to test, what happens, using a bitmap ( not the gradient-function ).\r\nIs it possible, to change the textcolor of RADIO, CHECKBOX and SAY at runtime ?\r\n\r\n[img:13i6yyg3]http&#58;//www&#46;pflegeplus&#46;com/pictures/trans10&#46;jpg[/img:13i6yyg3]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "20:45", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Uwe,\r\n\r\n> Is there a solution for XP, maybe to get the checkbox working as well ? \r\n\r\nWe have not found it <!-- s:-( --><img src=\"{SMILIES_PATH}/icon_sad.gif\" alt=\":-(\" title=\"Sad\" /><!-- s:-( --> It is ok for Vista, but it is not ok for XP.\r\n\r\n>\r\nIs it possible, to change the textcolor of RADIO, CHECKBOX and SAY at runtime ? \r\n>\r\n\r\noControl:SetColor( ... )\r\noControl:Refresh()", "time": "21:42", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-30", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio,\r\n\r\nSay, radio and text works well in transparent-mode with XP.\r\nOnly the Checkbox-transparent-text doesn't work.\r\n\r\nA easy solution ?\r\n\r\nIn resources : \r\nI disconnect the text from the Checkbox ( no text ).\r\nNext I resize the checkbox to the box-size ( keeping only the square ).\r\nIn the screenshot, I didn't resize exactly, to show what i mean.\r\nNext stepp : I Show the needed text next to the checkbox as extra text. \r\n\r\nIn XP the checkbox with text is shown correct now.\r\n\r\nXP- SCREENSHOT\r\n\r\n[img:3bd35cgn]http&#58;//www&#46;pflegeplus&#46;com/pictures/grad15&#46;jpg[/img:3bd35cgn]\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "23:55", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi\r\n\r\nThis is the result of a simple work around to paint RADIOS/CHECKBOXES/SAYS/GROUPS/IMAGES and other controls\r\non gradient dialogs. \r\n\r\nThis work around is tested in WIN98, WINXP NOT TESTED ON VISTA.\r\n\r\n[url=http&#58;//img389&#46;imageshack&#46;us/my&#46;php?image=gradtestlr5&#46;png:2ccyf6kv][img:2ccyf6kv]http&#58;//img389&#46;imageshack&#46;us/img389/6813/gradtestlr5&#46;th&#46;png[/img:2ccyf6kv][/url:2ccyf6kv]\r\n\r\nIn case anybody needs any help in this regard, they are welcome.\r\n\r\n- Ramesh Babu P", "time": "14:14", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello RAMESHBABU,\r\n\r\ncan you show me the source for it, to see, what is different\r\nto my solution ?\r\n\r\nI have all Windows-versions installed.\r\nI can test on 98, NT, 2000, XP and VISTA.\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "14:34", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello RAMESHBABU!\r\nPlease send me your source! I am very interesting!", "time": "15:46", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Mr.ukoenig and Mr.Günther \r\n\r\nPlease check your inboxes\r\n\r\nRegards,\r\n\r\n- Ramesh Babu P", "time": "15:52", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Mr. RAMESHBABU,\r\n\r\nI tested it with VISTA.\r\nIt works perfect.\r\nThank you very much for your nice solution.\r\n\r\nregards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "16:25", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.ukoenig\r\n\r\nThank You and you are most welcome.\r\n\r\nRegards\r\n\r\n-Ramesh Babu P", "time": "16:40", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi RAMESHBABU! \r\nPlease send me your source! I am very interesting!\r\n\r\nThanks,", "time": "17:05", "topic": "Checkbox and Radio are not transparent!?", "username": "Horizon" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello RAMESHBABU! \r\n\r\nMany thanks for your reply!\r\nI tested your solution on vista and 2000. On 2000 it is not functioning. On Vista is functioning but if the checkbox is clicked, the old and the new text is shown!", "time": "17:15", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Günther,\r\n\r\nI think, Microsoft changed a DLL belongs to the display, because of\r\nall the different results.\r\nSome DLL's can transfered to other window-version without problem.\r\nMaybe i can find out searching in Internet, the name of the DLL\r\nchanged in VISTA.\r\n\r\nRegards\r\nUwe <!-- s:lol: --><img src=\"{SMILIES_PATH}/icon_lol.gif\" alt=\":lol:\" title=\"Laughing\" /><!-- s:lol: -->", "time": "17:47", "topic": "Checkbox and Radio are not transparent!?", "username": "ukoenig" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-10-31", "forum": "FiveWin for Harbour/xHarbour", "text": "Ramesh,\r\n\r\nWould you mind to share your solution here in the forums ? thanks <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\r\n\r\nOtherwise I appreciate if you email it to me, thanks", "time": "18:57", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.Antonio/Mr.Horizon\r\n\r\nPlease check your inboxes.\r\n\r\nRegards\r\n\r\n- Ramesh Babu P", "time": "01:49", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-01", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr.Ramesh Babu,\r\n\r\nI would like to see your code. If you don't mind can you send it to my email id <!-- e --><a href=\"mailto:anserkk@gmail.com\">anserkk@gmail.com</a><!-- e -->\r\n\r\nRegards\r\n\r\nAnser", "time": "07:09", "topic": "Checkbox and Radio are not transparent!?", "username": "anserkk" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Anser,\r\n\r\nCheck your inbox.\r\n\r\n- Ramesh Babu P", "time": "01:27", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Ramesh,\r\n\r\nCould you please resend it to me as a ZIP file renamed as ZOP ? thanks", "time": "01:32", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Ramesh,\r\n\r\nI have not rcvd u'r mail in my Gmail id as said. If u attached a zip file then gmail blocks the mail. Request u to either rename the zip extention or u may send it to my hotmail id <!-- e --><a href=\"mailto:anserkk@hotmail.com\">anserkk@hotmail.com</a><!-- e -->\r\n\r\nRegards\r\n\r\nAnser", "time": "04:39", "topic": "Checkbox and Radio are not transparent!?", "username": "anserkk" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Ramesh,\r\n\r\nThanks for your contribution, could you please send me the code to jmurugosa (at) gmail.com, I really need of your solution.\r\n\r\nThanks in advance.", "time": "16:24", "topic": "Checkbox and Radio are not transparent!?", "username": "jose_murugosa" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Anser Bhai,\r\n\r\nCould be please provide an alternate e-mail. I got the mail bounced back.\r\n\r\nRegards\r\n\r\n- Ramesh babu P", "time": "18:06", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.Murugosa,\r\n\r\nPlease check your inbox. \r\n\r\n- Ramesh babu P", "time": "18:12", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"RAMESHBABU\":3a8bbh9d]Mr.Murugosa,\n\nPlease check your inbox. \n\n- Ramesh babu P[/quote:3a8bbh9d]\r\n\r\nThanks Ramesh, but I didn´t recieve the mail, If you are sending a zip file or rar file, please rename it as .zzz or .rrr so I can recieve it.\r\n\r\nThanks again for your kind help", "time": "18:53", "topic": "Checkbox and Radio are not transparent!?", "username": "jose_murugosa" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Ramesh,\r\n\r\nI have not received it, probably due to the same reasons as Jose explains.", "time": "20:18", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.Antonio, Jose and Anser\r\n\r\nI am extremely sorry for the inconvenience. Here is the link to download.\r\n\r\n[url:1leni3ey]http&#58;//www&#46;aksharasoft&#46;com/gradtest&#46;zip[/url:1leni3ey]\r\n\r\n- Ramesh Babu P", "time": "03:12", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Thankyou Ramesh Bhai,\r\n\r\nRegards\r\n\r\nAnser", "time": "05:52", "topic": "Checkbox and Radio are not transparent!?", "username": "anserkk" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Ramesh,\r\n\r\ncould you send me your solution, too.\r\n\r\nThanks", "time": "10:17", "topic": "Checkbox and Radio are not transparent!?", "username": "StefanHaupt" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Ramesh,\r\n\r\nI just found the download link <!-- s:oops: --><img src=\"{SMILIES_PATH}/icon_redface.gif\" alt=\":oops:\" title=\"Embarassed\" /><!-- s:oops: --> \r\n\r\nThanks", "time": "10:20", "topic": "Checkbox and Radio are not transparent!?", "username": "StefanHaupt" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Ramesh,\r\n\r\nOk, so basically what you do is to create a bitmap from the painted gradient and then use the bitmap for a brush.\r\n\r\nWe could implement a method to automatically do it, without having to use any external tool <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "10:35", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi Ramesh,\r\n\r\nThank you for sending gradtest.zip.\r\n\r\nIf I am not wrong, The function in prg uses the external EXE files. BMPtoJPG and NCONVERT.\r\n\r\nCan you also provide these files if it is possible?. I try find them from net. but i think different versions can not works like your function wanted.", "time": "11:18", "topic": "Checkbox and Radio are not transparent!?", "username": "Horizon" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello All!\r\nI found a solution for this problem. Not very elegant, but usable. This could functioning on all OS. \r\nAntonio, this should inserted in dialog-class! The real size of a redefined dialog is only to see, when activated.\r\n\r\n\r\n[code:2uqkvlbw]\nDEFINE DIALOG oDlg&#46;&#46;&#46;&#46;&#46;&#46;&#46;&#46;\n&#46;\ndlg_brush&#40;oDlg,CLR_BLUE,CLR_HBLUE&#41;\n&#46;\nACTIVATE oDlg\n\n//--------------------------------------------------------\n\nfunction dlg_brush&#40;oDlg,nColorTop,nColorBottom&#41;\n\n\tlocal oDlg_temp,oBr,nWidth,nHeight,cRes &#58;= \"\",cFile&#58;= \"back&#46;bmp\"\n\tDEFAULT nColorTop &#58;= nRGB&#40; 219, 230, 244 &#41; , nColorBottom &#58;= nRGB&#40; 207, 221, 239 &#41;\n\nif !empty&#40;oDlg&#41;\n\n\tcRes &#58;= oDlg&#58;cResName\n\n if !empty&#40;cRes&#41;\n\t\tcFile&#58;= cRes+\"_back&#46;bmp\"\n\t\tDEFINE DIALOG oDlg_temp RESOURCE cRes\n\t\tACTIVATE DIALOG oDlg_temp ;\n\t\tON INIT ;\n\t\t&#40;oDlg_temp&#58;hide&#40;&#41;,;\n\t\tnHeight &#58;= oDlg_temp&#58;nHeight&#40;&#41;,;\n\t\tnWidth &#58;= 1,; //oDlg_temp&#58;nWidth&#40;&#41;,;\n\t\toDlg_temp&#58;end&#40;&#41;&#41;\n\n else\n\n\t\tnHeight &#58;= oDlg&#58;nBottom\n nWidth &#58;= 1\n\n endif\n\n\t\tDEFINE DIALOG oDlg_temp FROM 0,0 TO nHeight,nWidth PIXEL STYLE nOr&#40;WS_POPUP,4&#41;\n\t\tACTIVATE DIALOG oDlg_temp ;\n\t\tON PAINT ;\n\t\t&#40;GradientFill&#40; oDlg_temp&#58;hDC, 0, 0, oDlg_temp&#58;nHeight&#40;&#41;, oDlg_temp&#58;nWidth&#40;&#41;, &#123;&#123; 1,nColorTop,nColorBottom&#125;&#125; &#41;,;\n\t\toDlg_temp&#58;SaveToBmp&#40;cFile&#41;,;\n\t\toDlg_temp&#58;end&#40;&#41;&#41;\n\n\t\tif file&#40; cFile &#41;\n\t\t\tDEFINE BRUSH oBr FILE cFile\n\t\t\toDlg&#58;oBrush &#58;= oBr\n\t\t\tferase&#40; cFile &#41;\n\t\tendif\n\nendif\n\nreturn NIL\n\n//-------------------------------------------------------------[/code:2uqkvlbw]", "time": "12:43", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi all,\r\n\r\nsome time ago I enhanced the TBrush class, you can use like the original one. It creates brushes with a gradient on the fly.\r\n\r\nI hope, it´s helpful.\r\n\r\nUsage:\r\n[code:u20hcnje]&#46;&#46;&#46;\noBrushX &#58;= TBrushX&#40;&#41;&#58;New &#40; &#46;&#46;&#46; &#41;\n\nDEFINE DIALOG &#46;&#46;&#46; BRUSH oBrushX[/code:u20hcnje]\n\nand the class:\n[code:u20hcnje]// ============================================================================\n// CLASS TBrushX Version May 2008\n// Authors&#58; Stefan Haupt\n// Silvio Falconi\n// you can freely use this class, please don´t remove these lines\n//============================================================================\n// Erweiterte TBrush-Class für Brushes mit Gradient\n// &#40;Enhanced brush class to create brushes with a gradient&#41;\n// Parameter\n// nColorFrom &#58; Startfarbe bzw&#46; Array &#123;Startfarbe, Endfarbe&#125; für oberen Gradient\n// startcolor or array with start- endcolor for upper gradient\n// nColorTo &#58; Endfarbe bzw&#46; Array &#123;Startfarbe, Endfarbe&#125; für unteren Gradient\n// endcolor or array with start- endcolor for lower gradient\n// lVGrad &#58; &#46;t&#46; für vertikal, &#46;f&#46; für horizontal\n// &#46;t&#46; for vertical, &#46;f&#46; for horizontal\n// l2007 &#58; Office-Look mit 2 Gradienten \n// Look2007 with 2 gradients\n//-----------------------------------------------------------------------------\n#include \"Fivewin&#46;ch\"\n\nCLASS TBrushX FROM TBrush\n\n METHOD New&#40; nColor, nColor2, lVGrad &#41; //CONSTRUCTOR\nENDCLASS\n\n\n METHOD New&#40; nWidth, nHeight, nColorFrom, nColorTo, lVGrad, l2007 &#41; CLASS TBrushX\n\n &#58;&#58;lSystem = &#46;f&#46;\n\n &#58;&#58;hBitmap &#58;= CreateExtBrush &#40;nWidth, nHeight, nColorFrom, nColorTo, lVGrad, l2007 &#41;\n &#58;&#58;hBrush = If&#40; &#58;&#58;hBitmap != 0, CreatePatternBrush&#40; &#58;&#58;hBitmap &#41;, &#41;\n &#58;&#58;nCount &#58;= 1\n AAdd&#40; &#58;&#58;aBrushes, Self &#41;\n\nreturn Self\n\n\n//-----------------------------------------------------------------//\nFUNCTION CreateExtBrush &#40; nWidth, nHeight, nColorFrom, nColorTo, lVGrad, l2007 &#41;\n\nLOCAL hDC &#58;= CreateDC&#40; \"DISPLAY\",0,0,0 &#41;\nLOCAL hDCMem &#58;= CreateCompatibleDC&#40; hDC &#41;\nLOCAL hBmp &#58;= CreateCompatibleBitmap&#40; hDC, nWidth, nHeight &#41;\nLOCAL hOldBmp &#58;= SelectObject&#40; hDCMem, hBmp &#41;\nLOCAL aRC0 &#58;= &#123;0,0,nHeight/2,nWidth&#125;\nLOCAL aRC &#58;= &#123;nHeight/2,0,nHeight,nWidth&#125;\nLOCAL nClrUpperFrom, nClrLowerFrom, nClrUpperTo, nClrLowerTo\n\n\nDEFAULT lVGrad &#58;= &#46;t&#46; // vertikaler Gradient &#40;vertical gradient&#41;\nDEFAULT nColorTo &#58;= nColorFrom //\nDEFAULT l2007 &#58;= &#46;t&#46; // Office-Look mit 2 Gradienten &#40;Look2007 with 2 gradients&#41;\n\n IF Valtype &#40;nColorFrom&#41; == \"A\"\n nClrUpperFrom &#58;= nColorFrom&#91;1&#93;\n nClrUpperTo &#58;= nColorFrom&#91;2&#93;\n ELSE\n nClrUpperFrom &#58;= nColorFrom\n nClrUpperTo &#58;= nColorFrom\n ENDIF\n\n IF Valtype &#40;nColorTo&#41; == \"A\"\n nClrLowerFrom &#58;= nColorTo&#91;1&#93;\n nClrLowerTo &#58;= nColorTo&#91;2&#93;\n ELSE\n nClrLowerFrom &#58;= nColorTo\n nClrLowerTo &#58;= nColorTo\n ENDIF\n\n IF l2007\n lVGrad &#58;= &#46;t&#46;\n Gradient&#40; hDCMem, &#123;aRC0&#91;1&#93;,aRC0&#91;2&#93;,aRC0&#91;3&#93;+2,aRC0&#91;4&#93;&#125;, nClrUpperFrom, nClrUpperTo, lVGrad &#41;\n Gradient&#40; hDCMem, &#123;aRC&#91;1&#93;,aRC&#91;2&#93;,aRC&#91;3&#93;+2,aRC&#91;4&#93;&#125;, nClrLowerFrom, nClrLowerTo, lVGrad &#41;\n ELSE\n Gradient&#40; hDCMem, &#123;0,0,nHeight,nWidth&#125;, nClrUpperFrom, nClrLowerTo, lVGrad &#41;\n ENDIF\n\nSelectObject&#40; hDCMem, hOldBmp &#41;\nDeleteDC&#40; hDCMem &#41;\nDeleteDC&#40; hDC &#41;\n\nRETURN &#40;hBmp&#41;\n\n\n//-------------------------------------------------------------------//\nDLL32 FUNCTION CREATECOMPATIBLEBITMAP&#40; hDC AS LONG,;\n nWidth AS LONG,;\n nHeight AS LONG&#41; AS LONG;\n PASCAL FROM \"CreateCompatibleBitmap\" LIB \"gdi32&#46;dll\"\n[/code:u20hcnje]", "time": "13:23", "topic": "Checkbox and Radio are not transparent!?", "username": "StefanHaupt" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Stephan,\r\n\r\nCan you us a small working example please?\r\n\r\nThanks,", "time": "14:28", "topic": "Checkbox and Radio are not transparent!?", "username": "Horizon" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Antonio,\r\n\r\nThanks for your attention to the subject.\r\n\r\n>>Ok, so basically what you do is to create a bitmap from the painted \r\n>>gradient and then use the bitmap for a brush. \r\n\r\nYes.\r\n\r\n>> could implement a method to automatically do it, without having to >>e any external tool \r\n\r\nThe main reason to adopt this work around is non functioning of DIBWRITE\r\nin win98. Always I found that a bitmap of 0 bytes is created in win98.\r\n\r\nAs I said, this is a workaround and if it is done in native FWH, it would be a great help to the total communitiy.\r\n\r\nThanks,\r\n\r\n- Ramesh Babu P", "time": "15:15", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\r\n\r\nlets take Ramesh´s sample, here is the changed test\r\n\r\n[code:67ra38r4]#include \"fivewin&#46;ch\"\n#include \"Image&#46;ch\"\n\nFUNCTION main&#40;&#41;\n\nLOCAL oDlg, oIcon, oBrush, oGroup, oRadio, oCheckBox, oSay, oGet, oButton\nLOCAL cTest &#58;= \"Hello world! \", nValue &#58;= 2, lValue &#58;= &#46;F&#46;, oImage\n\nDEFINE ICON oIcon FILE \"&#46;&#46;\\icons\\fivewin&#46;ico\"\n\n//DEFINE BRUSH oBrush\noBrush &#58;= TBrushX&#40;&#41;&#58;New &#40;100,160,CLR_WHITE,nRgb&#40;152,194,152&#41;, &#46;t&#46;,&#46;f&#46;&#41; // <------\n// Take care that the dimension of the bitmap has the same size as the dialog\n\nDEFINE DIALOG oDlg TITLE \"I am a DialogBox\" BRUSH oBrush ;\n ICON oIcon TRANSPARENT\n\n\n @ 4&#46;25,&#46;25 IMAGE oImage SIZE 20, 20 OF oDlg NOBORDER\n oImage&#58;LoadImage&#40; \"gradtest\", &#41;\n\n\n @ 0&#46;25,0&#46;75 GROUP oGroup TO 4,21&#46;80 PROMPT \"Test Group\" OF oDlg ;\n COLOR CLR_BLUE TRANSPARENT\n\n @ 0&#46;75,2&#46;00 SAY oSay PROMPT \"Enter your Name&#58;\" OF oDlg SIZE 7,12 ;\n COLOR CLR_BLUE\n\n @ 0&#46;90,7&#46;50 GET cTest OF oDlg SIZE 40,12\n\n @ 1&#46;75,0&#46;95 RADIO oRadio VAR nValue ;\n ITEMS \"&One\", \"&Two\", \"T&hree\" _3D SIZE 50, 12 ;\n OF oDlg ON CHANGE MsgBeep&#40;&#41; COLOR CLR_RED\n\n @ 3&#46;35,10&#46;00 CHECKBOX oCheckBox VAR lValue PROMPT \"&ClickMe\" SIZE 100, 12 ;\n OF oDlg ;\n ON CHANGE oCheckBox&#58;SetText&#40; \"New Text\" &#41; COLOR CLR_BLUE\n\n @ 3&#46;35,5&#46;00 BUTTON \"&Ok\" SIZE 35, 12 ;\n ACTION MsgInfo&#40; \"Any action here!\" &#41; DEFAULT\n\n @ 3&#46;35,16&#46;00 BUTTON \"&Cancel\" SIZE 35, 12 ACTION oDlg&#58;End&#40;&#41;\n\n\nACTIVATE DIALOG oDlg CENTERED ;\n VALID MsgYesNo&#40; \"Do you want to end ?\" &#41;\n\nRETURN nil[/code:67ra38r4]", "time": "09:36", "topic": "Checkbox and Radio are not transparent!?", "username": "StefanHaupt" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Thanks Stefan,\r\n\r\nIt works good. \r\n\r\nIs it possible to give oBrush's Width and Height in ACTIVATE DIALOG ON INIT like below?\r\n\r\n[code:2ibybbfm]\nACTIVATE DIALOG oDlg CENTERED ON INIT &#40;oBrush&#58;nHeight &#58;= oDlg&#58;nHeight,oBrush&#58;nWidth&#58;=oDlg&#58;nWidth&#41; ; \n VALID MsgYesNo&#40; \"Do you want to end ?\" &#41; \n[/code:2ibybbfm]", "time": "10:46", "topic": "Checkbox and Radio are not transparent!?", "username": "Horizon" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2008-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\r\n\r\nno, that´s not possible at the moment, because the bitmap is created only virtually.\r\n\r\nBut you can try this (not tested):\r\n\r\n[code:3mmetvvg]DEFINE BRUSH oBrush\n//oBrush &#58;= TBrushX&#40;&#41;&#58;New &#40;100,160,CLR_WHITE,nRgb&#40;152,194,152&#41;, &#46;t&#46;,&#46;f&#46;&#41; // <------\n// Take care that the dimension of the bitmap has the same size as the dialog\n\nDEFINE DIALOG oDlg TITLE \"I am a DialogBox\" BRUSH oBrush \n\nACTIVATE DIALOG oDlg CENTERED ON INIT &#40;oBrush &#58;= TBrushX&#40;&#41;&#58;New &#40;oDlg&#58;nWidth,oDlg&#58;nHeight,CLR_WHITE,nRgb&#40;152,194,152&#41;, &#46;t&#46;,&#46;f&#46;&#41;,;\noDlg&#58;SetColor &#40;,,oBrush&#41;, oDlg&#58;Refresh&#40;&#41; &#41;[/code:3mmetvvg]", "time": "13:15", "topic": "Checkbox and Radio are not transparent!?", "username": "StefanHaupt" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "A working example:\n[code:25u61aza]\n#include \"FiveWin&#46;ch\"\n\nfunction Main()\n\n local oDlg, oCbx1, lValue1 &#58;= &#46;T&#46;, oCbx2, lValue2 &#58;= &#46;T&#46;, oCbx3, lValue3 &#58;= &#46;T&#46;\n local oRadMenu, nValue &#58;= 1\n\n DEFINE DIALOG oDlg TITLE \"Test\"\n\n @ 1, 2 CHECKBOX oCbx1 VAR lValue1 COLOR \"W+/B\"\n oCbx1&#58;lTransparent = &#46;T&#46; \n\n @ 2, 2 CHECKBOX oCbx2 VAR lValue2 COLOR \"W+/B\" \n oCbx2&#58;lTransparent = &#46;T&#46; \n\n @ 3, 2 CHECKBOX oCbx3 VAR lValue3 COLOR \"W+/B\" \n oCbx3&#58;lTransparent = &#46;T&#46; \n \n @ 1&#46;3, 9 RADIO oRadMenu VAR nValue ITEMS \"One\", \"Two\", \"Three\" SIZE 80, 13 COLOR \"GR+/B\"\n AEval( oRadMenu&#58;aItems, { | oRad | oRad&#58;lTransparent &#58;= &#46;T&#46; } )\n\n ACTIVATE DIALOG oDlg CENTERED ;\n ON INIT GradientBrush( oDlg, { { 0&#46;4, nRGB( 75, 144, 223 ), nRGB( 41, 85, 145 ) },;\n { 0&#46;6, nRGB( 24, 61, 118 ), nRGB( 50, 95, 158 ) } } ) \n\nreturn nil\n\nfunction GradientBrush( oDlg, aColors )\n\n local hDC, hBmp, hBmpOld\n \n if Empty( oDlg&#58;oBrush&#58;hBitmap )\n hDC = CreateCompatibleDC( oDlg&#58;GetDC() )\n hBmp = CreateCompatibleBitMap( oDlg&#58;hDC, oDlg&#58;nWidth, oDlg&#58;nHeight )\n hBmpOld = SelectObject( hDC, hBmp )\n GradientFill( hDC, 0, 0, oDlg&#58;nHeight, oDlg&#58;nWidth, aColors )\n oDlg&#58;oBrush&#58;hBitmap = hBmp\n oDlg&#58;oBrush&#58;hBrush = CreatePatternBrush( hBmp ) \n SelectObject( hDC, hBmpOld )\n oDlg&#58;ReleaseDC()\n endif \n\nreturn nil\n[/code:25u61aza]\n[url=http&#58;//imageshack&#46;us:25u61aza][img:25u61aza]http&#58;//img25&#46;imageshack&#46;us/img25/1808/capturetu0&#46;png[/img:25u61aza][/url:25u61aza]", "time": "03:15", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hello Mr.Antinio,\n\nThanks for your nice solution. But I dont find source for \"[color=#0000FF:2921iihr]CreateCompatableBitMap()[/color:2921iihr]\".\n\nI am using FWH 8.09\n\nPlease provide it to me.\n\nRegards,\n\n- Ramesh Babu P", "time": "07:44", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr.Ramesh and Mr.Antonio\n\nThe Sample is working fine in FWH 9.01\n\nRegards\n\nAnser", "time": "07:50", "topic": "Checkbox and Radio are not transparent!?", "username": "anserkk" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Mr.Antonio,\n\nI got the source for [color=#0000FF:yj0rc2rv]\"CreateCompatableBitMap()\"[/color:yj0rc2rv] function in the earlier pages of this posting \nitself.\n\nI have tested your solution in FWH8.09 and worked very well.\n\nFinally our GURU Mr.Antonio has given a very best solution for Gradient Dialogs.\n\nThank you once again.\n\n- Ramesh Babu P", "time": "08:10", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Ramesh,\n\nI am happy that finally we found a simple solution for it <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->\n\nAs you see the function GradientBrush() dynamically creates a brush but using the dimensions of the dialogbox, so we can use aColors the same way as we use it with GradientFill() <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "09:58", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Dear Mr.Antinio\n\n>>As you see the function GradientBrush() dynamically creates a brush but using the dimensions of the dialogbox, so we can \n>>use aColors the same way as we use it with GradientFill() \n\nYes. The function is simple and intelligent.\n\nJust now I have completed replacing my earlier functions with GradientBrush() in my projects and testing ...\n\nRegards,\n\n- Ramesh Babu P", "time": "11:06", "topic": "Checkbox and Radio are not transparent!?", "username": "RAMESHBABU" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nYes, its a curious effect <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) --> caused because we are changing a default brush.\n\nThis is the way to solve it: just define a brush for the dialog where GradientBrush() is used:\n[code:3563h4ub]\n#include \"FiveWin&#46;ch\"\n\nfunction Main()\n\n local oWnd\n \n DEFINE WINDOW oWnd\n \n @ 1&#46;6, 17 BUTTON \"First\" SIZE 70, 25 ACTION First()\n \n @ 3&#46;6, 17 BUTTON \"Another\" SIZE 70, 25 ACTION Another()\n \n ACTIVATE WINDOW oWnd\n \nreturn nil \n\nfunction First()\n\n local oDlg, oBrush\n local oCbx1, lValue1 &#58;= &#46;T&#46;, oCbx2, lValue2 &#58;= &#46;T&#46;, oCbx3, lValue3 &#58;= &#46;T&#46;\n local oRadMenu, nValue &#58;= 1\n\n DEFINE BRUSH oBrush COLOR CLR_WHITE\n\n DEFINE DIALOG oDlg TITLE \"Test\" BRUSH oBrush\n\n @ 1, 2 CHECKBOX oCbx1 VAR lValue1 COLOR \"W+/B\"\n oCbx1&#58;lTransparent = &#46;T&#46; \n\n @ 2, 2 CHECKBOX oCbx2 VAR lValue2 COLOR \"W+/B\" \n oCbx2&#58;lTransparent = &#46;T&#46; \n\n @ 3, 2 CHECKBOX oCbx3 VAR lValue3 COLOR \"W+/B\" \n oCbx3&#58;lTransparent = &#46;T&#46; \n \n @ 1&#46;3, 9 RADIO oRadMenu VAR nValue ITEMS \"One\", \"Two\", \"Three\" SIZE 30, 13 COLOR \"GR+/B\"\n AEval( oRadMenu&#58;aItems, { | oRad | oRad&#58;lTransparent &#58;= &#46;T&#46; } )\n\n @ 1&#46;6, 17 BUTTON \"Another\" ACTION Another()\n\n ACTIVATE DIALOG oDlg CENTERED ;\n ON INIT GradientBrush( oDlg, { { 0&#46;4, nRGB( 75, 144, 223 ), nRGB( 41, 85, 145 ) },;\n { 0&#46;6, nRGB( 24, 61, 118 ), nRGB( 50, 95, 158 ) } } ) \n\nreturn nil\n\nfunction Another()\n\n local oDlg\n \n DEFINE DIALOG oDlg\n \n ACTIVATE DIALOG oDlg CENTERED\n \nreturn nil \n\nfunction GradientBrush( oDlg, aColors )\n\n local hDC, hBmp, hBmpOld, oBrush\n \n if Empty( oDlg&#58;oBrush&#58;hBitmap )\n hDC = CreateCompatibleDC( oDlg&#58;GetDC() )\n hBmp = CreateCompatibleBitMap( oDlg&#58;hDC, oDlg&#58;nWidth, oDlg&#58;nHeight )\n hBmpOld = SelectObject( hDC, hBmp )\n GradientFill( hDC, 0, 0, oDlg&#58;nHeight, oDlg&#58;nWidth, aColors )\n DeleteObject( oDlg&#58;oBrush&#58;hBrush )\n oDlg&#58;oBrush&#58;hBitmap = hBmp\n oDlg&#58;oBrush&#58;hBrush = CreatePatternBrush( hBmp ) \n SelectObject( hDC, hBmpOld )\n oDlg&#58;ReleaseDC()\n endif \n\nreturn nil\n[/code:3563h4ub]", "time": "19:14", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "This is functioning but if i use not only one dialog in program, this brush are used also in all other dialogs. But the brush is not defined in this dialogs with ..ON INIT.", "time": "16:21", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, can this solution not included into the function gradientbrush() with oDlg:setbrush(obrush) or so? In TBrush you are save all brushes for a new call from the same brush. Should be this brush made from gradientbrush() erased? And should the resources hDC and hBmp not be released?", "time": "21:40", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Günther,\n\nYes, I missed to destroy the hDC! <!-- s:? --><img src=\"{SMILIES_PATH}/icon_confused.gif\" alt=\":?\" title=\"Confused\" /><!-- s:? --> \n\nhBmp will be destroyed by the brush itself.\n\nThe problem to include it as a Method in Class TBrush is that we need the dimensions of the dialog in advance...\n[code:1ykdkcjv]\nfunction GradientBrush( oDlg, aColors )\n\n local hDC, hBmp, hBmpOld, oBrush\n \n if Empty( oDlg&#58;oBrush&#58;hBitmap )\n hDC = CreateCompatibleDC( oDlg&#58;GetDC() )\n hBmp = CreateCompatibleBitMap( oDlg&#58;hDC, oDlg&#58;nWidth, oDlg&#58;nHeight )\n hBmpOld = SelectObject( hDC, hBmp )\n GradientFill( hDC, 0, 0, oDlg&#58;nHeight, oDlg&#58;nWidth, aColors )\n DeleteObject( oDlg&#58;oBrush&#58;hBrush )\n oDlg&#58;oBrush&#58;hBitmap = hBmp\n oDlg&#58;oBrush&#58;hBrush = CreatePatternBrush( hBmp ) \n SelectObject( hDC, hBmpOld )\n DeleteDC( hDC )\n oDlg&#58;ReleaseDC()\n endif \n\nreturn nil\n[/code:1ykdkcjv]", "time": "00:28", "topic": "Checkbox and Radio are not transparent!?", "username": "Antonio Linares" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2009-02-05", "forum": "FiveWin for Harbour/xHarbour", "text": "Antonio, now also the gets use this brush! And in the print-preview the metafiles are also colored with this brush.", "time": "12:27", "topic": "Checkbox and Radio are not transparent!?", "username": "byte-one" } ]
Checkbox and Radio are not transparent!?
[ { "date": "2006-03-14", "forum": "FiveWin for Pocket PC", "text": "Antonio,\n\nI found probably this same effect as in button action control . Checkbox status is still this same. Sample code:\n\n[code:6b2tpbsz]\n#Include 'FwCe&#46;Ch'\n\nFunction TestCheck &#40;&#41;\n\n Local oWnd &#58;= Nil\n Local lVal &#58;= &#46;F&#46;\n\n Define Window oWnd Title 'Test Check'\n @ 100, 20 CheckBox lVal Prompt 'Test checkbox' Size 120, 20 Pixel Of oWnd On Change MsgInfo &#40;'Checkbox changed'&#41;\n Activate Window oWnd\n\nReturn &#46;T&#46;\n[/code:6b2tpbsz]\n\nRegards\nPawel", "time": "09:05", "topic": "Checkbox control", "username": "pawelu" } ]
Checkbox control
[ { "date": "2006-03-14", "forum": "FiveWin for Pocket PC", "text": "Pawel,\n\nYes, it was the same bug and also the same in TRadio. Fixed. \n\nA new FWPPC build is already available to download.\n\nmany thanks for your feedback,", "time": "13:02", "topic": "Checkbox control", "username": "Antonio Linares" } ]
Checkbox control
[ { "date": "2021-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "In the following sample, the checkbox disappears when it receives the focus. Please note that the problem shows up only with Harbour and MinGW.\n\nAny ideas?\n\n[code=fw:6aijzd2n]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />     <span style=\"color: #00C800;\">LOCAL</span> oDlg<br /><br />     <span style=\"color: #00C800;\">LOCAL</span> cVar := SPACE<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">30</span> <span style=\"color: #000000;\">&#41;</span><br />     <span style=\"color: #00C800;\">LOCAL</span> lVar := .F.<br /><br />     <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br /><br />     @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">GET</span> cVar<br />     @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CHECKBOX</span> lVar<br /><br />     <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />              <span style=\"color: #0000ff;\">CENTER</span><br /><br />     <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:6aijzd2n]\n\nEMG", "time": "10:24", "topic": "Checkbox disappearing (MinGW)", "username": "Enrico Maria Giordano" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Thank you. Are you using MinGW? Did you move the focus to checkbox?\n\nThere is nobody here using MinGW, please?\n\nEMG", "time": "09:10", "topic": "Checkbox disappearing (MinGW)", "username": "Enrico Maria Giordano" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "It also happens when you add the OF oDlg clause?", "time": "10:44", "topic": "Checkbox disappearing (MinGW)", "username": "cnavarro" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-16", "forum": "FiveWin for Harbour/xHarbour", "text": "Yes, same result. This is the files used to build the EXE:\n\n[code=fw:h2jxsb2o]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">q.prg<br />-fullstatic <br />fwh.hbc<br /><br />This is fwh.hbc:<br /><br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>incpaths=include<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libpaths=lib<br /><br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>gt=gtgui<br /><br /><span style=\"color: #000000;\">&#123;</span>mingw<span style=\"color: #000000;\">&#125;</span>libs=fivehg fivehgc<br /><span style=\"color: #000000;\">&#123;</span>bcc<span style=\"color: #000000;\">&#125;</span>libs=fiveh fivehc<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=comctl32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=comdlg32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=gdi32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbct<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbsqlit3<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbtip<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbwin<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbmainstd<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbziparc<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbmzip<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=minizip<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbnf<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=hbodbc<br /><span style=\"color: #000000;\">&#123;</span>mingw<span style=\"color: #000000;\">&#125;</span>libs=kernel32<br /><span style=\"color: #000000;\">&#123;</span>mingw<span style=\"color: #000000;\">&#125;</span>libs=mfcuia32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=msimg32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=odbc32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=ole32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=oleaut32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=oledlg<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=psapi<br /><span style=\"color: #000000;\">&#123;</span>mingw<span style=\"color: #000000;\">&#125;</span>libs=stdc++<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=user32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=uuid<br /><span style=\"color: #000000;\">&#123;</span>mingw<span style=\"color: #000000;\">&#125;</span>libs=version<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=vfw32<br /><span style=\"color: #000000;\">&#123;</span>mingw<span style=\"color: #000000;\">&#125;</span>libs=win32k<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=winmm<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=winspool<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=wsock32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=xhb<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=gdiplus<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=shell32<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=mpr<br /><span style=\"color: #000000;\">&#123;</span>win<span style=\"color: #000000;\">&#125;</span>libs=png</div>[/code:h2jxsb2o]\n\nEMG", "time": "15:34", "topic": "Checkbox disappearing (MinGW)", "username": "Enrico Maria Giordano" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico, run OK in my tests\n[img:2d1st7yi]https&#58;//i&#46;postimg&#46;cc/hjd0vGg7/enri16&#46;png[/img:2d1st7yi]", "time": "01:50", "topic": "Checkbox disappearing (MinGW)", "username": "cnavarro" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Enrico, yes, this sample is build with MinGW 8.10", "time": "10:36", "topic": "Checkbox disappearing (MinGW)", "username": "cnavarro" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "Ok, thank you.\n\nEMG", "time": "10:38", "topic": "Checkbox disappearing (MinGW)", "username": "Enrico Maria Giordano" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-17", "forum": "FiveWin for Harbour/xHarbour", "text": "I only use the libraries that are marked.\n[img:30dbreod]https&#58;//i&#46;postimg&#46;cc/CLdrfhKK/enri17&#46;png[/img:30dbreod]", "time": "10:53", "topic": "Checkbox disappearing (MinGW)", "username": "cnavarro" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-01-18", "forum": "FiveWin for Harbour/xHarbour", "text": "The problem was the MinGW version used (probably a bug in that version of MinGW SDK libs). Using a new version (10.2) the problem is fixed.\n\nEMG", "time": "12:42", "topic": "Checkbox disappearing (MinGW)", "username": "Enrico Maria Giordano" } ]
Checkbox disappearing (MinGW)
[ { "date": "2021-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nIs it possible to show tooltip when the checkbox is disabled?", "time": "07:30", "topic": "Checkbox does not show Tooltip when disabled.", "username": "Horizon" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2021-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nPlace an \"empty\" SAY below the checkbox and use the SAY tooltip", "time": "14:37", "topic": "Checkbox does not show Tooltip when disabled.", "username": "Antonio Linares" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2021-05-26", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote:1thnkqx7]Place an \"empty\" SAY below the checkbox and use the SAY tooltip[/quote:1thnkqx7]\n\nanother solution to keep the mouse-cursor inside\nthe checkboxarea :\n\n[img:1thnkqx7]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/disable1&#46;jpg[/img:1thnkqx7]\n\n[code=fw:1thnkqx7]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oWnd<br /><br /><span style=\"color: #B900B9;\">//--------------------------- </span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>, oChk, lValue := .T.<br /><br />SetBalloon<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Testing tooltips \"</span> + FWVERSION <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">pixel</span><br /><br />@ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> NOBORDER TRANSPARENT<br />oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cToolTip</span> :=  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Testing tooltips on\"</span> + CRLF + <span style=\"color: #ff0000;\">\"DISABLED\"</span>, <span style=\"color: #ff0000;\">\"ATTENTION\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br />@ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oChk <span style=\"color: #0000ff;\">VAR</span> lValue <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Disabled\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">OF</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Enabled\"</span> <span style=\"color: #000000;\">&#41;</span><br />oChk:<span style=\"color: #000000;\">cToolTip</span> :=  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Testing tooltips on\"</span> + CRLF + <span style=\"color: #ff0000;\">\"ENABLED\"</span>, <span style=\"color: #ff0000;\">\"ATTENTION\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br />oChk:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"W+/R\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />@ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Enable\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"W+/B\"</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Enabled\"</span> <span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />@ <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Disable\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"W+/R\"</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Disablrd\"</span> <span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:1thnkqx7]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->", "time": "18:52", "topic": "Checkbox does not show Tooltip when disabled.", "username": "ukoenig" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2021-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "Very good.\n\n[code=fw:34w3zsha]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #B900B9;\">// \\SAMPLES\\CHKDISAB.PRG</span><br /><br /><span style=\"color: #00D7D7;\">#Include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> oWnd<br /><br /><span style=\"color: #B900B9;\">// ---------------------------</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> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>, oChk, lValue := .T.<br /><br />&nbsp; &nbsp;SetBalloon<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Testing tooltips \"</span> + FWVERSION ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">FROM</span> <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> NOBORDER TRANSPARENT<br /><br />&nbsp; &nbsp;oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cToolTip</span> := &nbsp;<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Testing tooltips on\"</span> + CRLF + <span style=\"color: #ff0000;\">\"DISABLED\"</span>, <span style=\"color: #ff0000;\">\"ATTENTION\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oChk <span style=\"color: #0000ff;\">VAR</span> lValue <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Disabled\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">OF</span> oBtn<span style=\"color: #000000;\">&#91;</span> <span style=\"color: #000000;\">3</span> <span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Enabled\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;oChk:<span style=\"color: #000000;\">cToolTip</span> := &nbsp;<span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Testing tooltips on\"</span> + CRLF + <span style=\"color: #ff0000;\">\"ENABLED\"</span>, <span style=\"color: #ff0000;\">\"ATTENTION\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;oChk:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp;oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"W+/R\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Enable\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"W+/B\"</span> <span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Enabled\"</span> <span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">/* // Original:<br />&nbsp; &nbsp;@ 150, 50 BUTTON \"&Disable\" SIZE 120, 25 PIXEL ;<br />&nbsp; &nbsp; &nbsp; ACTION ( oChk:Disable(), oChk:SetColor( \"W+/R\" ), oChk:SetText( \"Disabled\" ), oChk:Refresh() )<br />&nbsp; &nbsp;*/</span><br /><br />&nbsp; &nbsp;<span style=\"color: #B900B9;\">// Modified:</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Disable\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"W+/R\"</span> <span style=\"color: #000000;\">&#41;</span>, ;<br />&nbsp; &nbsp; &nbsp; oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Disabled\"</span> <span style=\"color: #000000;\">&#41;</span>, CHANGE_COLOR_CHECBOX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br /><span style=\"color: #00C800;\">STATIC</span> <span style=\"color: #00C800;\">FUNCTION</span> CHANGE_COLOR_CHECBOX<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #00C800;\">LOCAL</span> oSay AS OBJECT<br /><br />&nbsp; &nbsp;@ &nbsp;<span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">63</span> <span style=\"color: #0000ff;\">SAY</span> oSay <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Disabled \"</span> <span style=\"color: #0000ff;\">OF</span> oWnd <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">088</span>, <span style=\"color: #000000;\">20</span> ;<br />&nbsp; &nbsp; &nbsp; COLORS CLR_BLACK, CLR_YELLOW <span style=\"color: #0000ff;\">PIXEL</span> <span style=\"color: #0000ff;\">CENTER</span> BORDER <span style=\"color: #0000ff;\">ADJUST</span><br /><br /><span style=\"color: #00C800;\">RETURN</span><span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br />&nbsp;</div>[/code:34w3zsha]\n\nRegards, saludos.", "time": "15:04", "topic": "Checkbox does not show Tooltip when disabled.", "username": "karinha" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2021-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"Antonio Linares\":3elz4r1u]Hakan,\n\nPlace an \"empty\" SAY below the checkbox and use the SAY tooltip[/quote:3elz4r1u]\n\nThank you Antonio,\n\nBut it seems the cTooltip does not executed in TSay object.", "time": "20:26", "topic": "Checkbox does not show Tooltip when disabled.", "username": "Horizon" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2021-05-27", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"ukoenig\":2221taaz][quote:2221taaz]Place an \"empty\" SAY below the checkbox and use the SAY tooltip[/quote:2221taaz]\n\nanother solution to keep the mouse-cursor inside\nthe checkboxarea :\n\n[img:2221taaz]http&#58;//www&#46;service-fivewin&#46;de/IMAGES/disable1&#46;jpg[/img:2221taaz]\n\n[code=fw:2221taaz]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><span style=\"color: #00D7D7;\">#include</span> <span style=\"color: #ff0000;\">\"FiveWin.ch\"</span><br /><br /><span style=\"color: #00C800;\">static</span> oWnd<br /><br /><span style=\"color: #B900B9;\">//--------------------------- </span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><span style=\"color: #00C800;\">LOCAL</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>, oChk, lValue := .T.<br /><br />SetBalloon<span style=\"color: #000000;\">&#40;</span> .T. <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">TITLE</span> <span style=\"color: #ff0000;\">\"Testing tooltips \"</span> + FWVERSION <span style=\"color: #0000ff;\">from</span> <span style=\"color: #000000;\">1</span>,<span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">to</span> <span style=\"color: #000000;\">300</span>, <span style=\"color: #000000;\">300</span> <span style=\"color: #0000ff;\">pixel</span><br /><br />@ <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BTNBMP</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">OF</span> oWnd ;<br /><span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span> NOBORDER TRANSPARENT<br />oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cToolTip</span> :=  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Testing tooltips on\"</span> + CRLF + <span style=\"color: #ff0000;\">\"DISABLED\"</span>, <span style=\"color: #ff0000;\">\"ATTENTION\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br />@ <span style=\"color: #000000;\">0</span>, <span style=\"color: #000000;\">0</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oChk <span style=\"color: #0000ff;\">VAR</span> lValue <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"&Disabled\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">OF</span> oBtn<span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Enabled\"</span> <span style=\"color: #000000;\">&#41;</span><br />oChk:<span style=\"color: #000000;\">cToolTip</span> :=  <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #ff0000;\">\"Testing tooltips on\"</span> + CRLF + <span style=\"color: #ff0000;\">\"ENABLED\"</span>, <span style=\"color: #ff0000;\">\"ATTENTION\"</span>, <span style=\"color: #000000;\">1</span>, CLR_BLACK, <span style=\"color: #000000;\">14089979</span> <span style=\"color: #000000;\">&#125;</span><br />oChk:<span style=\"color: #000000;\">disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"W+/R\"</span><span style=\"color: #000000;\">&#41;</span><br /><br />@ <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Enable\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"W+/B\"</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Enabled\"</span> <span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />@ <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">50</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"&Disable\"</span> <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">25</span> <span style=\"color: #0000ff;\">PIXEL</span> ;<br /><span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetColor</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"W+/R\"</span><span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Disablrd\"</span> <span style=\"color: #000000;\">&#41;</span>, oChk:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">CENTERED</span><br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /> </div>[/code:2221taaz]\n\nbest regards\nUwe <!-- s:D --><img src=\"{SMILIES_PATH}/icon_biggrin.gif\" alt=\":D\" title=\"Very Happy\" /><!-- s:D -->[/quote:2221taaz]\n\nThank you Uwe. I use dialog and I could not use checkbox in TBtnBmp object in dialog.", "time": "20:27", "topic": "Checkbox does not show Tooltip when disabled.", "username": "Horizon" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2021-05-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hakan,\n\nI have modified FWH\\samples\\testsay.prg this way and see the result as I explained you, using a SAY under the checkbox:\n\n[img:2wszehv1]https&#58;//github&#46;com/FiveTechSoft/screenshots/blob/master/checkbox_disabled_tooltip&#46;JPG?raw=true[/img:2wszehv1]\n\n[code=fw:2wszehv1]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">procedure Dlg_Grad<br /><br /><span style=\"color: #00C800;\">local</span> oDlg, oSay, oBrush, lTest := .T., oCbx<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">brush</span> oBrush gradient <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.4</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">75</span>, <span style=\"color: #000000;\">144</span>, <span style=\"color: #000000;\">223</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">41</span>, <span style=\"color: #000000;\">85</span>, <span style=\"color: #000000;\">145</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>,;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">0.6</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">24</span>, &nbsp;<span style=\"color: #000000;\">61</span>, <span style=\"color: #000000;\">118</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">50</span>, <span style=\"color: #000000;\">95</span>, <span style=\"color: #000000;\">158</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">define</span> <span style=\"color: #0000ff;\">dialog</span> odlg <span style=\"color: #0000ff;\">title</span> <span style=\"color: #ff0000;\">\"Test Say With Gradient Brush\"</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">size</span> <span style=\"color: #000000;\">400</span>,<span style=\"color: #000000;\">400</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">brush</span> oBrush transparent<br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">2</span>,<span style=\"color: #000000;\">2</span> GROUP <span style=\"color: #0000ff;\">TO</span> <span style=\"color: #000000;\">100</span>,<span style=\"color: #000000;\">100</span> <span style=\"color: #0000ff;\">of</span> odlg <span style=\"color: #0000ff;\">pixel</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">25</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">say</span> oSay <span style=\"color: #0000ff;\">prompt</span> <span style=\"color: #ff0000;\">\"This a Test\"</span> <span style=\"color: #0000ff;\">of</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">40</span>, <span style=\"color: #000000;\">40</span> <span style=\"color: #0000ff;\">COLOR</span> CLR_WHITE <span style=\"color: #0000ff;\">PIXEL</span> &nbsp;transparent <span style=\"color: #0000ff;\">adjust</span><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">25.5</span>,<span style=\"color: #000000;\">15</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oCbx <span style=\"color: #0000ff;\">VAR</span> lTest <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;\">30</span>, <span style=\"color: #000000;\">20</span> <span style=\"color: #0000ff;\">PIXEL</span><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">10</span>,<span style=\"color: #000000;\">120</span> <span style=\"color: #0000ff;\">button</span> <span style=\"color: #ff0000;\">\"Test\"</span> <span style=\"color: #0000ff;\">pixel</span> <span style=\"color: #0000ff;\">action</span> oSay:<span style=\"color: #000000;\">SetText</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Change Text\"</span> <span style=\"color: #000000;\">&#41;</span><br /><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg <span style=\"color: #0000ff;\">CENTERED</span> ;<br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">INIT</span> <span style=\"color: #000000;\">&#40;</span> EnableWindow<span style=\"color: #000000;\">&#40;</span> oCbx:<span style=\"color: #000000;\">hWnd</span>, .F. <span style=\"color: #000000;\">&#41;</span>, oSay:<span style=\"color: #000000;\">lWantClick</span> := .T., oSay:<span style=\"color: #000000;\">cTooltip</span> := <span style=\"color: #ff0000;\">\"this is a test\"</span>, oSay:<span style=\"color: #000000;\">ShowToolTip</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, .T. <span style=\"color: #000000;\">&#41;</span><br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">release</span> <span style=\"color: #0000ff;\">brush</span> oBrush<br /><br /><span style=\"color: #00C800;\">return</span></div>[/code:2wszehv1]", "time": "20:41", "topic": "Checkbox does not show Tooltip when disabled.", "username": "Antonio Linares" } ]
Checkbox does not show Tooltip when disabled.
[ { "date": "2010-06-13", "forum": "FiveWin para Harbour/xHarbour", "text": "Em uma dialog com varios checkbox e radio, abre normal, mas ao pressionar ALT,\neles simplesmente ficam hide().\nDepois disto se passar com o mouse sobre a area que eles deveriam estar, eles \nficam Show().", "time": "15:35", "topic": "Checkbox e Radio", "username": "Personal" } ]
Checkbox e Radio
[ { "date": "2010-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "Sérgio,\n\nQue versión de FWH usas ?\n\nEse error se corrigió hace ya bastante tiempo <!-- s:-) --><img src=\"{SMILIES_PATH}/icon_smile.gif\" alt=\":-)\" title=\"Smile\" /><!-- s:-) -->", "time": "17:42", "topic": "Checkbox e Radio", "username": "Antonio Linares" } ]
Checkbox e Radio
[ { "date": "2010-06-21", "forum": "FiveWin para Harbour/xHarbour", "text": "FWH 9.04\nPellesC\nBcc551\nWindows 7 Home Premium", "time": "23:01", "topic": "Checkbox e Radio", "username": "Personal" } ]
Checkbox e Radio
[ { "date": "2010-06-22", "forum": "FiveWin para Harbour/xHarbour", "text": "Ola Personal, já tive um problema aqui parecido,aonde eu preenchia meus box com cor, dai o que estava la dentro sumia, minha solução foi colocar na propriedade do Groupbox Visible=No.\n\n\n\nLuiz Fernando", "time": "19:25", "topic": "Checkbox e Radio", "username": "empresoft" } ]
Checkbox e Radio
[ { "date": "2016-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Hola foro,\n\nAlguien tiene un ejemplo de como colocar un checkbox como parte de un registro en un browser ?\n\nGracias de antemano", "time": "19:04", "topic": "Checkbox en Browser", "username": "Compuin" } ]
Checkbox en Browser
[ { "date": "2016-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Usa:\n\noBrowse:SetChecks()\n\nLas columnas a mostrar el checkbox tienen que mostrar valores lógicos\n\nAdmite un primer parámetro con los dos nombres de imágenes alternativas desde recursos\n\ny un segúndo parámetro lógico para indicar si se permite cambiar el valor (editarlo)\n\nEste segundo parámetro puede ser un codeblock", "time": "19:23", "topic": "Checkbox en Browser", "username": "Antonio Linares" } ]
Checkbox en Browser
[ { "date": "2016-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "[code=fw:37v5aed3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">// el campo \"ACCE\" en logico </span><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbx    <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">20</span> COLUMNS <span style=\"color: #ff0000;\">\"NIVE\"</span>,<span style=\"color: #ff0000;\">\"RAIZ\"</span>,<span style=\"color: #ff0000;\">\"DESC\"</span>,<span style=\"color: #ff0000;\">\"ACCE\"</span> <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">\"PA04\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">OF</span> oDlg NOBORDER AUTOSORT FOOTERS<br /><br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Nivel\"</span>                 ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">30</span>                 ; oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nDataStrAlign</span>  := AL_CENTER<br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Modulo\"</span>                ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">80</span>                 ; oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nDataStrAlign</span>  := AL_CENTER<br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Procedimiento\"</span>         ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">440</span><br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Acceso\"</span>                ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">50</span><br /><br />          oLbx:<span style=\"color: #000000;\">Acceso</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> FWBmpOn<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, FWBmpOff<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, EDIT_GET <span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:37v5aed3]\n\n[img:37v5aed3]http&#58;//i65&#46;tinypic&#46;com/15hg1oh&#46;jpg[/img:37v5aed3]\n\nsaludos\n\n\nsaludos", "time": "21:43", "topic": "Checkbox en Browser", "username": "armando.lagunas" } ]
Checkbox en Browser
[ { "date": "2016-04-08", "forum": "FiveWin para Harbour/xHarbour", "text": "Disculpa Antonio,\n\nNo me quedo muy claro con el ejemplo que me indicastes.", "time": "21:10", "topic": "Checkbox en Browser", "username": "Compuin" } ]
Checkbox en Browser
[ { "date": "2016-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "Si el browse está mostrando algún valor lógico solo tienes que hacer oBrowse:SetChecks() y esas columnas aparecerán como checkboxes", "time": "07:07", "topic": "Checkbox en Browser", "username": "Antonio Linares" } ]
Checkbox en Browser
[ { "date": "2016-04-09", "forum": "FiveWin para Harbour/xHarbour", "text": "[quote=\"armando.lagunas\":2sahbon3][code=fw:2sahbon3]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br /><span style=\"color: #B900B9;\">// el campo \"ACCE\" en logico </span><br /><br /> <span style=\"color: #0000ff;\">REDEFINE</span> <span style=\"color: #0000ff;\">XBROWSE</span> oLbx    <span style=\"color: #0000ff;\">ID</span> <span style=\"color: #000000;\">20</span> COLUMNS <span style=\"color: #ff0000;\">\"NIVE\"</span>,<span style=\"color: #ff0000;\">\"RAIZ\"</span>,<span style=\"color: #ff0000;\">\"DESC\"</span>,<span style=\"color: #ff0000;\">\"ACCE\"</span> <span style=\"color: #0000ff;\">ALIAS</span> <span style=\"color: #ff0000;\">\"PA04\"</span> <span style=\"color: #0000ff;\">FONT</span> oFont <span style=\"color: #0000ff;\">OF</span> oDlg NOBORDER AUTOSORT FOOTERS<br /><br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Nivel\"</span>                 ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">30</span>                 ; oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">1</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nDataStrAlign</span>  := AL_CENTER<br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Modulo\"</span>                ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">80</span>                 ; oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">2</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nDataStrAlign</span>  := AL_CENTER<br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Procedimiento\"</span>         ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">3</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">440</span><br />          oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">cHeader</span>      := <span style=\"color: #ff0000;\">\"Acceso\"</span>                ;   oLbx:<span style=\"color: #000000;\">aCols</span><span style=\"color: #000000;\">&#91;</span><span style=\"color: #000000;\">4</span><span style=\"color: #000000;\">&#93;</span>:<span style=\"color: #000000;\">nWidth</span>       :=  <span style=\"color: #000000;\">50</span><br /><br />          oLbx:<span style=\"color: #000000;\">Acceso</span>:<span style=\"color: #000000;\">SetCheck</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#123;</span> FWBmpOn<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, FWBmpOff<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span>, EDIT_GET <span style=\"color: #000000;\">&#41;</span><br /><br /> </div>[/code:2sahbon3]\n\n[img:2sahbon3]http&#58;//i65&#46;tinypic&#46;com/15hg1oh&#46;jpg[/img:2sahbon3]\n\nsaludos\n\n\nsaludos[/quote:2sahbon3]\n\nArmando, que tipo de diseño es el menu que usas.? se ve bastante llamativo, muy buena combinacion de colores...por lo menos para mis gustos...gracias, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "20:35", "topic": "Checkbox en Browser", "username": "joseluisysturiz" } ]
Checkbox en Browser
[ { "date": "2016-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "hola, jose:\n\nno es un menu, es una opcion que trae la clase ribbonbar, es BackStage y la utilizo asi:\n\n[code=fw:19nouda0]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />&nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> RIBBONBAR oBar <span style=\"color: #0000ff;\">WINDOW</span> oWnd <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Recepción\"</span>,<span style=\"color: #ff0000;\">\"Producción\"</span>,<span style=\"color: #ff0000;\">\"Despachos\"</span>,<span style=\"color: #ff0000;\">\"Materiales\"</span>,<span style=\"color: #ff0000;\">\"Liquidación\"</span>,<span style=\"color: #ff0000;\">\"Herramientas\"</span> HEIGHT <span style=\"color: #000000;\">95</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ <span style=\"color: #000000;\">4</span>, <span style=\"color: #000000;\">5</span> RBBTN oBtn <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">64</span>, <span style=\"color: #000000;\">19</span> BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>YSTEM<span style=\"color: #000000;\">\\h</span>elp.bmp\"</span> <span style=\"color: #0000ff;\">ACTION</span> oBar:<span style=\"color: #000000;\">BackStage</span> <span style=\"color: #0000ff;\">OF</span> oBar <span style=\"color: #0000ff;\">CENTER</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">NORMAL</span> GRADIANT <span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">&#123;</span><span style=\"color: #000000;\">1</span>,nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">205</span>, <span style=\"color: #000000;\">28</span>, <span style=\"color: #000000;\">28</span><span style=\"color: #000000;\">&#41;</span>,nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">140</span>, <span style=\"color: #000000;\">28</span>, <span style=\"color: #000000;\">28</span><span style=\"color: #000000;\">&#41;</span><span style=\"color: #000000;\">&#125;</span><span style=\"color: #000000;\">&#125;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TOOLTIP <span style=\"color: #ff0000;\">\"Sub sistema de configuración inicial\"</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBar:<span style=\"color: #000000;\">nGroupSeparation</span> &nbsp; := <span style=\"color: #000000;\">5</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBar:<span style=\"color: #000000;\">nLeftMargin</span> &nbsp; &nbsp; &nbsp; &nbsp;:= <span style=\"color: #000000;\">75</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBar:<span style=\"color: #000000;\">CalcPos</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; oBar:<span style=\"color: #000000;\">nSeparation</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">5</span> <span style=\"color: #000000;\">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; BackStage<span style=\"color: #000000;\">&#40;</span> oBar, oBtn <span style=\"color: #000000;\">&#41;</span><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> BackStage<span style=\"color: #000000;\">&#40;</span> oBar, oBtn <span style=\"color: #000000;\">&#41;</span><br />&nbsp; <span style=\"color: #00C800;\">LOCAL</span> &nbsp;oBack<br /><br />&nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BACKSTAGE oBack MAINWIDTH <span style=\"color: #000000;\">297</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Parametros Principales\"</span> HEIGHT <span style=\"color: #000000;\">70</span> COLORTEXT <span style=\"color: #00C800;\">NIL</span>, CLR_YELLOW<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Impresora Principal\"</span> &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\P</span>RIN.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> PrinterSetup<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Procedimientos Internos\"</span> BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\P</span>ASS.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"Procedimientos\"</span> <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Mantención de Usuarios\"</span> &nbsp;BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\U</span>SER.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> MantencionUsuarios<span style=\"color: #000000;\">&#40;</span> oBtn <span style=\"color: #000000;\">&#41;</span> ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Licencias de Uso\"</span> &nbsp; &nbsp; &nbsp; HEIGHT <span style=\"color: #000000;\">70</span> COLORTEXT <span style=\"color: #00C800;\">NIL</span>, CLR_YELLOW<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Licencia de Software\"</span> &nbsp; &nbsp;BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\D</span>ISP.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">MsgInfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"LICENCIAS\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style=\"color: #0000ff;\">DEFINE</span> BSSELECT <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Soporte de Sistemas\"</span> &nbsp; &nbsp;HEIGHT <span style=\"color: #000000;\">70</span> COLORTEXT <span style=\"color: #00C800;\">NIL</span>, CLR_YELLOW<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Soporte en Linea\"</span> &nbsp; &nbsp; &nbsp; &nbsp;BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\M</span>AIL.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> MailMaster<span style=\"color: #000000;\">&#40;</span><span style=\"color: #ff0000;\">\"Main\"</span><span style=\"color: #000000;\">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Información y Ayuda\"</span> &nbsp; &nbsp; BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\H</span>ELP.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">&#40;</span> <span style=\"color: #ff0000;\">\"AYUDA\"</span> <span style=\"color: #000000;\">&#41;</span> &nbsp;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">DEFINE</span> BSBUTTON <span style=\"color: #0000ff;\">OF</span> oBack <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\" &nbsp; Retornar a Windows\"</span> &nbsp; &nbsp; &nbsp;BITMAP <span style=\"color: #ff0000;\">\".<span style=\"color: #000000;\">\\S</span>KIN<span style=\"color: #000000;\">\\E</span>XIT.BMP\"</span> HEIGHT &nbsp;<span style=\"color: #000000;\">60</span> <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #0000ff;\">Msginfo</span><span style=\"color: #000000;\">&#40;</span> oBar:<span style=\"color: #000000;\">oWnd</span>:<span style=\"color: #000000;\">End</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> &nbsp; ;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;COLORTEXT nRGB<span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span>,<span style=\"color: #000000;\">12</span><span style=\"color: #000000;\">&#41;</span> GRADIENT <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">&#123;</span> <span style=\"color: #000000;\">1</span>, &nbsp;nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span>,<span style=\"color: #000000;\">255</span> <span style=\"color: #000000;\">&#41;</span>, nRGB<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">198</span>, <span style=\"color: #000000;\">198</span>,<span style=\"color: #000000;\">198</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span> <span style=\"color: #000000;\">&#125;</span><br /><br />&nbsp; &nbsp;SET BACKSTAGE oBack <span style=\"color: #0000ff;\">TO</span> oBar<br /><br /><span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span><br /><br />&nbsp;</div>[/code:19nouda0]", "time": "16:06", "topic": "Checkbox en Browser", "username": "armando.lagunas" } ]
Checkbox en Browser
[ { "date": "2016-04-11", "forum": "FiveWin para Harbour/xHarbour", "text": "Armando, gracias por tu respuesta, no habia pillado que era la misma ribbon, ya lo habia utilizado pero creo que lo mas llamativo es el windows donde la usas, creo eso hace la gran diferencia, cuando la probe fue bajo WIN XP, igual probare tu ejemplo bajo WIN 7 haber como se ve, hasta los momentos es el windows que uso, gracias, saludos... <!-- s:shock: --><img src=\"{SMILIES_PATH}/icon_eek.gif\" alt=\":shock:\" title=\"Shocked\" /><!-- s:shock: -->", "time": "17:18", "topic": "Checkbox en Browser", "username": "joseluisysturiz" } ]
Checkbox en Browser
[ { "date": "2018-09-25", "forum": "FiveMac / FivePhone (iPhone, iPad)", "text": "Hello,\n\nCan we Enable and Disable a Checkbox. And can we programmaticaly change the checked state of a checkbox. What I want is the following:\nI have 2 Checkboxes, Check_1 and Check_2. if I uncheck Check_1 I want Check_2 to be unchecked also and set disabled. i tried using ON CHANGE, but could not disable a checkbox.[code=fw:14qact5y]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />    @ <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">180</span> <span style=\"color: #0000ff;\">CHECKBOX</span> Check_1 <span style=\"color: #0000ff;\">VAR</span> lCheck_1 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'checkbox 1'</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">20</span> ;<br />        <span style=\"color: #0000ff;\">ON</span> <span style=\"color: #0000ff;\">CHANGE</span> <span style=\"color: #00C800;\">IF</span><span style=\"color: #000000;\">&#40;</span>!lCheck_1, oChkPrintAfmeting:<span style=\"color: #000000;\">Checked</span><span style=\"color: #000000;\">&#40;</span>.F.<span style=\"color: #000000;\">&#41;</span>, <span style=\"color: #000000;\">&#41;</span><br />    @ <span style=\"color: #000000;\">120</span>, <span style=\"color: #000000;\">180</span> <span style=\"color: #0000ff;\">CHECKBOX</span> Check_2 <span style=\"color: #0000ff;\">VAR</span> lCheck_2 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">'checkbox 2'</span> <span style=\"color: #0000ff;\">OF</span> oDlg <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">150</span>, <span style=\"color: #000000;\">20</span><br /><br /> </div>[/code:14qact5y]", "time": "21:11", "topic": "Checkbox enable/disable", "username": "plantenkennis" } ]
Checkbox enable/disable
[ { "date": "2018-11-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi, \n\nI have a array xbrowse, the first field is a logical than i can mark or unmark, how i can put a checkbox in header and how i control the status (mark or unmark).\n\nThanks in advance.", "time": "14:35", "topic": "Checkbox in header", "username": "wartiaga" } ]
Checkbox in header
[ { "date": "2018-11-06", "forum": "FiveWin for Harbour/xHarbour", "text": "Search in forum\nOne sample:\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=3&t=35501&p=211653&hilit=check+header#p211386\">viewtopic.php?f=3&t=35501&p=211653&hilit=check+header#p211386</a><!-- l -->\n\n[code=fw:1o1lodyv]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br />:<span style=\"color: #000000;\">nHeadBmpNo</span> &nbsp; &nbsp;:= <span style=\"color: #000000;\">&#123;</span> || <span style=\"color: #00C800;\">If</span><span style=\"color: #000000;\">&#40;</span> Len<span style=\"color: #000000;\">&#40;</span> oBrw:<span style=\"color: #000000;\">aSelected</span> <span style=\"color: #000000;\">&#41;</span> == oBrw:<span style=\"color: #000000;\">nLen</span>, <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">2</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#125;</span><br />&nbsp;</div>[/code:1o1lodyv]", "time": "19:52", "topic": "Checkbox in header", "username": "cnavarro" } ]
Checkbox in header
[ { "date": "2018-10-28", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi,\n\nMy example is below. The problem is that when I press disable button, the area that is below the checkbox is disappeared. \n\nIn this case, when I move the mouse in this area, the lost fields are coming back again.\n\n[code=fw:3m15zczt]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">include <span style=\"color: #ff0000;\">\"Fivewin.ch\"</span><br /><br /><br /><span style=\"color: #00C800;\">FUNCTION</span> MAIN<span style=\"color: #000000;\">&#40;</span> <span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #00C800;\">LOCAL</span> oDlg, oChk, oChk2<br /><br />    <span style=\"color: #00C800;\">LOCAL</span> lChk := .F., lChk2 := .F.<br /><br />    <span style=\"color: #0000ff;\">DEFINE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg<br />        oDlg:<span style=\"color: #000000;\">lTransparent</span> := .T.<br /><br />    @ <span style=\"color: #000000;\">1</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oChk <span style=\"color: #0000ff;\">VAR</span> lChk <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Test\"</span>;<br />           <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">13</span> <br /><br />    @ <span style=\"color: #000000;\">2</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">CHECKBOX</span> oChk2 <span style=\"color: #0000ff;\">VAR</span> lChk2 <span style=\"color: #0000ff;\">PROMPT</span> <span style=\"color: #ff0000;\">\"Test2\"</span>;<br />           <span style=\"color: #0000ff;\">SIZE</span> <span style=\"color: #000000;\">100</span>, <span style=\"color: #000000;\">13</span> <br /><br />    @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Disable\"</span>;<br />           <span style=\"color: #0000ff;\">ACTION</span> oChk:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Enable\"</span>;<br />           <span style=\"color: #0000ff;\">ACTION</span> oChk:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span><br /><br />    <span style=\"color: #0000ff;\">ACTIVATE</span> <span style=\"color: #0000ff;\">DIALOG</span> oDlg;<br />             <span style=\"color: #0000ff;\">CENTER</span><br /><br />    <span style=\"color: #00C800;\">RETURN</span> <span style=\"color: #00C800;\">NIL</span></div>[/code:3m15zczt]\n\n[code=fw:3m15zczt]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\">#ifndef __64__<br />  <span style=\"color: #000000;\">1</span> <span style=\"color: #000000;\">24</span> <span style=\"color: #ff0000;\">\"winxp<span style=\"color: #000000;\">\\W</span>indowsXP.Manifest\"</span> <br />#endif<br /> </div>[/code:3m15zczt]\n\n\nI think this is related Transparent issue. When I delete oDlg:lTransparent := .T., There is not any problem.\n\nHow Can I solve this problem?\n\nThanks.", "time": "20:35", "topic": "Checkbox problem when disabled.", "username": "Horizon" } ]
Checkbox problem when disabled.
[ { "date": "2018-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "At moment\n\n[code=fw:2nm8jds8]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />&nbsp; &nbsp;@ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Disable\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />&nbsp; &nbsp; @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Enable\"</span>;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />&nbsp;</div>[/code:2nm8jds8]", "time": "00:16", "topic": "Checkbox problem when disabled.", "username": "cnavarro" } ]
Checkbox problem when disabled.
[ { "date": "2018-10-29", "forum": "FiveWin for Harbour/xHarbour", "text": "[quote=\"cnavarro\":3idhx17j]At moment\n\n[code=fw:3idhx17j]<div class=\"fw\" id=\"{CB}\" style=\"font-family: monospace;\"><br /><br />   @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">1</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Disable\"</span>;<br />           <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Disable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br />    @ <span style=\"color: #000000;\">3</span>, <span style=\"color: #000000;\">10</span> <span style=\"color: #0000ff;\">BUTTON</span> <span style=\"color: #ff0000;\">\"Enable\"</span>;<br />           <span style=\"color: #0000ff;\">ACTION</span> <span style=\"color: #000000;\">&#40;</span> oChk:<span style=\"color: #000000;\">Enable</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span>, oDlg:<span style=\"color: #0000ff;\">Refresh</span><span style=\"color: #000000;\">&#40;</span><span style=\"color: #000000;\">&#41;</span> <span style=\"color: #000000;\">&#41;</span> <span style=\"color: #0000ff;\">OF</span> oDlg<br /><br /> </div>[/code:3idhx17j][/quote:3idhx17j]\n\nThank you Mr. Navarro. it works.", "time": "12:26", "topic": "Checkbox problem when disabled.", "username": "Horizon" } ]
Checkbox problem when disabled.
[ { "date": "2010-11-02", "forum": "FiveWin for Harbour/xHarbour", "text": "I still have a problem with checkboxes. On some dialogs, but not all, a checkbox requires a double click to change the value. On others, it takes a single click.\n\nThe problem is consistent on a dialog, but does not apply on all dialogs. A dialog with the problem may have two or three checkboxes, and they all require a double click. However, on another dialog they may work fine with a single click.\n\nThe controls are defined in an RC file and they are identical ( except for the coordinates ).\n\nThe REDEFINE CHECKBOX is the same in all cases.\n\nThis problem occurs in Versions 10.7 through 10.10, but not in 10.6.\n\nNo, I cannot build a simple sample that reproduces the problem, but when it occurs, it happens on all computers regardless of the OS.\n\nI'd appreciate any ideas on what I might check for this problem. The application is themed, and I'm testing on Win 7 using FWH 10.10 and xBuilder ( xHarbour ) latest stable version.\n\nThanks for any ideas on where I might look.\n\nTim", "time": "01:31", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Her is some further information on this problem.\n\nIf I link in the source from Control.prg dated 06/2010, the problems go away. So I did a comparison and found that there are three differences:\n\nlTransparent is INIT as .f. and my application does use transparent dialogs\n\nThe control now uses a function IsKindOf( ) for folders and checkboxes. Where is this from and could it be giving a bad read ?\n\nIn HandleEvent( ) lTransparent is referenced and must be true for the checkbox to respond to the left mouse click. Again, I'm wondering if there is a problem with the lTransparent value sometimes ?\n\nIn summary, the problem is the result of changes in the control class ( not the checkbox class ) that occured in July 2010. Those changes seem to be exclusively with focus and transparency.\n\nAny thoughts / suggestions ?", "time": "01:23", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Tim,\n\nCould you please post here the portion of your code where you use the checkbox ?\n\nDoes it have a VALID ? or a WHEN ? Does it have an ON CHANGE clause ?\n\nthanks", "time": "01:32", "topic": "Checkbox still strange", "username": "Antonio Linares" } ]
Checkbox still strange
[ { "date": "2010-11-03", "forum": "FiveWin for Harbour/xHarbour", "text": "Here is an example:\n\n\tREDEFINE CHECKBOX oInvr:invcof ID 750 OF oDiw MESSAGE \"Does this part have cores attached ?\" UPDATE\n\tREDEFINE CHECKBOX oInvr:invtxf ID 749 OF oDiw MESSAGE \"Is this part generally taxable ?\" UPDATE\n\tREDEFINE CHECKBOX oInvr:invtyp ID 748 OF oDiw MESSAGE \"Is this a stocking part ?\" UPDATE\n\nAnd the .rc controls:\n\n CONTROL \"Core\", 750, \"Button\", BS_AUTOCHECKBOX|WS_TABSTOP, 80, 220, 40, 13\n CONTROL \"Tax\", 749, \"Button\", BS_AUTOCHECKBOX|WS_TABSTOP, 26, 205, 40, 13\n CONTROL \"Stock\", 748, \"Button\", BS_AUTOCHECKBOX|WS_TABSTOP, 26, 220, 40, 13\n\nWith 10.06, they work fine. With 10.07-10.10, they require a double click !", "time": "16:00", "topic": "Checkbox still strange", "username": "TimStone" } ]
Checkbox still strange
[ { "date": "2010-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Hi.\n\nMy problem with checkboxes is a bit different and not as critical. \n\nThe first time you click it, the whole dialog flickers. Further clicks on the check box won't cause the flickering. But it is only doing it on one particular dialog. I tried to build a reduced self-contained sample with the exact same code and resource but can't reproduced the behavior.\n\nReinaldo.", "time": "17:51", "topic": "Checkbox still strange", "username": "reinaldocrespo" } ]
Checkbox still strange
[ { "date": "2010-11-04", "forum": "FiveWin for Harbour/xHarbour", "text": "Reinaldo,\n\nAccording to the What's New for ver 10.10 this has been fixed.\n\n<!-- l --><a class=\"postlink-local\" href=\"http://forums.fivetechsupport.com/viewtopic.php?f=16&t=20166#p106713\">viewtopic.php?f=16&t=20166#p106713</a><!-- l -->\n\nRegards,\nJames", "time": "18:35", "topic": "Checkbox still strange", "username": "James Bott" } ]
Checkbox still strange