topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
Checkbox still strange | Tim,
[quote:1215vvuh]CONTROL "Core", 750, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 80, 220, 40, 13[/quote:1215vvuh]
I note that when I create a default style checkbox in Workshop it looks like this:
[quote:1215vvuh] CHECKBOX "Checkbox", IDC_CHECKBOX1, 88, 20, 60, 12, BS_AUTOCHECKBOX | WS_TABSTOP[/quote:1215vvuh]
Are y... |
Checkbox still strange | James,
I actually don't use a resource editor anymore. I do all my fine tuning "by hand". However, "Button" is correct and works. I think we were given that guidance when we first went to themes.
Of course, the issue still comes back to the shift in code from 10.06 to 10.07. |
Checkbox still strange | Tim,
Please modify your RC as James has suggested you. That may be the reason of the problem |
Checkbox still strange | I tried that and got an error ! Also, it works fine with 10.06 but not 10.07 plus. |
Checkbox still strange | Tim,
What was the error?
James |
Checkbox still strange | The error when trying to compile is "String literal expected" |
Checkbox still strange | Tim, I think that such an approach is very time consuming and inconclusive. The right way to rapidly solve the issue is to make a reduced and self-contained sample showing the problem.
EMG |
Checkbox still strange | If I can't reproduce the problem how can I fix it? Anyway, can you check the value of ::lTransparent inside of HandleEvent() method (write its value to a log)?
EMG |
Checkbox still strange | Enrico,
If it was reproduceable ( consistent in all areas ) I would do that as I have in the past.
In this case, it is reproduceable only in the much larger code of the application ... some places it works, some it doesn't. Again, it works perfectly with 10.6 but not 10.7 and beyond.
I have also isolated it to the ... |
Checkbox still strange | Tim,
Have you tried linking in the ver 10.6 control.prg with the 10.7 FWH version. This would confirm that the problem is in the control.prg code and not elsewhere.
Regards,
James |
Checkbox still strange | lTransparent is .t. for the keyclick.
I understand your question. I have to do this soft of evaluation all the time. Often a client has a problem I can't duplicate.
However, the reality is that something changed. If I simply substituted in the 10.06 control.prg, the problem goes away.
I am going to try adding in ... |
Checkbox still strange | This is the offending code:
case nMsg == WM_LBUTTONDOWN
if ::lTransparent .and. ( ::IsKindOf( "TRADIO" ) .or. ::IsKindOf( "TCHECKBOX" ) )
::oWnd:Refresh( .f. )
endif
return ::LButtonDown( nHiWord( nLParam ), nLoWord( nLParam ), nWParam )
The changes to WM_UPDATE... |
Checkbox still strange | Try replacing
[code=fw:1ycgljlg]<div class="fw" id="{CB}" style="font-family: monospace;">::<span style="color: #000000;">oWnd</span>:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span> .f. <span style="color: #000000;">)</span></div>[/code:1ycgljlg]
with
[code=fw:1ycgljlg]<div... |
Checkbox still strange | It still requires a double click, but the flash returns ! |
Checkbox still strange | Ok. Is the problem solved without side effects if you completely remove the case WM_LBUTTONDOWN?
EMG |
Checkbox still strange | James,
As you probably saw from the additional posts, I was able to isolate the problem to the WM_LBUTTONDOWN case in the event handler. Yes, it was added in 10.7, and not present in 10.6. All other changes in 10.7 were fine and did not cause a problem. Those same changes exist through 10.10.
EMG
Yes, if I commen... |
Checkbox still strange | Maybe this:
[quote:6va1mivc]* Fix: samples\GradBrus.prg was failing when Alt was pressed or the mouse was clicked on a
radio or a checkbox. We have modified Class TControl Method HandleEvent() to solve it.[/quote:6va1mivc]
Can you try to take one of your dialogs showing the problem, extract it from your app, make ... |
Checkbox still strange | Tim,
[quote:lxj75nl0]CONTROL "Core", 750, "Button", BS_AUTOCHECKBOX|WS_TABSTOP, 80, 220, 40, 13[/quote:lxj75nl0]
I still wonder about the above. What is a "core" control? Then it seems to be defined as both a button and a checkbox. Where did you get this syntax?
Perhaps your syntax was only working before because th... |
Checkbox still strange | [quote="James Bott":8wply6oy]I still wonder about the above. What is a "core" control?[/quote:8wply6oy]
James, you have misunderstood: "Core" is the label, "Button" is the control type. <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
Checkbox still strange | I did better then I thought.
Here is a "cut down" dialog
[code=fw:ensotr7n]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">... |
Checkbox still strange | I can't compile your sample but I see at least one error:
[quote="TimStone":2heyqkxb][code=fw:2heyqkxb]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">PAINT</span> oLbxin:<span style="color: #000000;">setfocus</span><span style="color: #00... |
Checkbox still strange | Enrico,
[quote:fbc5tgwl]James, you have misunderstood: "Core" is the label, "Button" is the control type.[/quote:fbc5tgwl]
OK, I see.
But why use a button as a ckeckbox?
Then he uses REDEFINE CHECKBOX in his code. Maybe this is a problem?
The Checkbox class is a subclass of TControl, so I don't understand the rela... |
Checkbox still strange | These two lines are equivalent:
[code=fw:ec381a56]<div class="fw" id="{CB}" style="font-family: monospace;">CONTROL <span style="color: #ff0000;">"Core"</span>, <span style="color: #000000;">750</span>, <span style="color: #ff0000;">"Button"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style="color: #000000;">80</span>, ... |
Checkbox still strange | [quote="James Bott":3ihwrnng]But why use a button as a ckeckbox?[/quote:3ihwrnng]
A checkbox [b:3ihwrnng]is[/b:3ihwrnng] a kind of button.
EMG |
Checkbox still strange | [quote="TimStone":xnp4yy7u][code=fw:xnp4yy7u]<div class="fw" id="{CB}" style="font-family: monospace;">CONTROL <span style="color: #ff0000;">"Core"</span>, <span style="color: #000000;">750</span>, <span style="color: #ff0000;">"Button"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style="color: #000000;">110</span>, <span... |
Checkbox still strange | That is not an error ... when the dialog is created ( opened ), we want the focus to be on the xBrowse control. This is a subset of a much larger dialog, and there are other commands before this ( button bar ). This subset behaves exactly like the full program, however. |
Checkbox still strange | [quote="TimStone":tpexbv89]That is not an error ... when the dialog is created ( opened ), we want the focus to be on the xBrowse control.[/quote:tpexbv89]
So you have to use ON INIT clause, not ON PAINT. Please try.
EMG |
Checkbox still strange | That actually fixed the problem. So, why would that cause a problem with checkboxes, and why did it isolate from 10.6 to 10.7 ?
Thanks |
Checkbox still strange | Probably an interaction between paint and focus.
EMG |
Checkbox text disappears | I will start this in a new thread:
WHEN CLICKING ON RADIO BUTTONS OR CHECKBOXES, the Text disappears.
Here is an example of the problem.. This is a printer selection control.
This is the RC. Note we are using Radio buttons this time. They are vertically stacked. The first one starts at position 10, and is 12 point... |
Checkbox text disappears | Rem trasparent |
Checkbox text disappears | Silvio,
Nope ... the only thing that happens is the field space for the text does not allow the background to come through, so it's an ugly display.
Tim |
Checkbox text disappears | [code=fw:1gxu6wkw]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\TIMSTON2.PRG .and. TIMSTON2.RC</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span> <br /><br /><span style="color: #00C800;">S... |
Checkbox text disappears | Image:
[url:g4x5n4wy]https://imgur.com/09pog3N[/url:g4x5n4wy]
[img:g4x5n4wy]https://i.imgur.com/09pog3N.png[/img:g4x5n4wy]
Regards, saludos. |
Checkbox text disappears | Thank you for the suggestion.
I'm rather concerned that coding which worked fine for 15 years suddenly needs to be rewritten to make checkboxes and radio boxes start working again. This is a lot of additional code. I have many places where I reuse radio buttons and checkboxes throughout my program, and they would a... |
Checkbox text disappears | With further testing, this is only happening with 64 BIT builds. ( FWH 64 ) that are created in the Visual Studio 2022 IDE.
It does NOT occur in 32 bit builds using the same tool.
Maybe that helps. Since distribution copies will not have the problem, I can live with it, but there is apparently a configuration issue... |
Checkbox text disappears | [quote="TimStone":3t1ca2xs]Silvio,
Nope ... the only thing that happens is the field space for the text does not allow the background to come through, so it's an ugly display.
Tim[/quote:3t1ca2xs]
I correctly use the one Manifest provided with the fwh package, in my case of the famous dialog viewtopic.php?f=3&t=422... |
Checkbox text disappears | Buen día. Prueba así:
Good Morning. Try like this:
[code=fw:3nuoat1e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\FWH..\SAMPLES\TIMSTON3.PRG .and. TIMSTON3.RC</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.c... |
Checkbox text disappears Harbour/MSVC | I have this problem consistently on a program build using Harbour, FWH, and MSVC 2013 ( or even previous versions ).
The checkbox displays normally, but when I click on a checkbox, the text ( in this case Receipts ) disappears.
I suspect I should be using a different control than BS_AUTOCHECKBOX ... but don't know wh... |
Checkbox text disappears Harbour/MSVC | Tim,
[quote="TimStone":2rydttrb][code=fw:2rydttrb]<div class="fw" id="{CB}" style="font-family: monospace;">CONTROL <span style="color: #ff0000;">"Receipts"</span>, <span style="color: #000000;">2037</span>, <span style="color: #ff0000;">"Button"</span>, BS_AUTOCHECKBOX|WS_TABSTOP, <span style="color: #000000;">10</sp... |
Checkbox text disappears Harbour/MSVC | No, it's the same behavior
Remember, I'm using Microsoft Visual Studio ( VC+ ) and Harbour |
Checkbox text disappears Harbour/MSVC | Tim,
In Fivedit preferences, general, there is a checkbox working fine defined this way:
[code=fw:1sm6ric6]<div class="fw" id="{CB}" style="font-family: monospace;">AUTOCHECKBOX <span style="color: #ff0000;">"Duplicates on functions panel"</span>, <span style="color: #000000;">110</span>, <span style="co... |
Checkbox text disappears Harbour/MSVC | Antonio,
WS_EX_LEFT is 0 so I wonder if it can make any differences...
EMG |
Checkbox text disappears Harbour/MSVC | Using that format in the RC results in the same problem.
When a page of checkboxes appears, the prompts are all there. Check on the checkbox, and the text ( prompt ) goes away.
Remember ... this is FWH with Harbour ( no problem using an older xHarbour.com build ) with MSVC. The problem has been there for a long t... |
Checkbox text disappears Harbour/MSVC | Tim,
the problem surely comes from FWH, not from [x]Harbour nor from the C compiler.
EMG |
Checkbox text disappears Harbour/MSVC | Tim,
Does this happen only with a checkbox on a folder page ?
Does this also happen with a checkbox on a dialogbox (no folder) ? |
Checkbox text disappears Harbour/MSVC | Tim
I had the same problem with radio buttons and the fix was to add the Group Attribute to the control ..
Rick Lipkin
[code=fw:26voxq81]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">CHECKBOX</span> <span style="color: #ff0000;">"Receipts"</span>, <span style="color: #0... |
Checkbox text disappears Harbour/MSVC | Rick: Group doesn't help, and I also tried changing CONTROL to CHECKBOX, as in your example, but it doesn't recognize that.
Antonio: It is on both folders, and dialog, pages. Also, if I check one box, but then go back and check a different one, then the text comes back on the original. So, when a box is checked, t... |
Checkbox text disappears Harbour/MSVC | Tim,
at this point, we absolutely need a sample showing the problem.
EMG |
Checkbox text disappears Harbour/MSVC | Actually, at this point I'm going to revise the .rc file.
I've just looked at the MSDN formatting, which is what Antonio used in the editor. For too long I've carried over the old Borland Resource Editor file with some modifications.
Once I do that I will come back here and we can revisit the issue.
Tim |
Checkbox text disappears Harbour/MSVC | Tim,
I have started with this simple example and build it using FWH\samples\buildh32.bat that uses MS Visual C
[code=fw:btf83gzd]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C... |
Checkbox text disappears Harbour/MSVC | Antonio,
OK ... I added it as a function within the application, and it has the same behavior as I see with the .RC
It shows checked, but click on it and it disappears.
If I add two more checkboxes, the one that is clicked ( checked or unchecked ) does not show the text, but the others do. If I click on a different... |
Checkbox text disappears Harbour/MSVC | Tim,
Are you using themes in your app resources ?
1 24 "WindowsXP.Manifest" |
Checkbox text disappears Harbour/MSVC | I tried with and without manifest and found no problem. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
EMG |
Checkbox text disappears Harbour/MSVC | Enrico,
Are you using Borland ?
According to Tim this may be only related with MSVC |
Checkbox text disappears Harbour/MSVC | Antonio,
Yes, I'm using BCC690 but how the C compiler could make any difference? I don't understand... <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
EMG |
Checkbox text disappears Harbour/MSVC | Enrico,
Its not the C compiler itself, but several modifications that MS does to the final EXE (segments organization, etc.)
I have seen that inspecting the EXEs with PEInfo and similar apps
[url:364kc6u9]https://bitbucket.org/fivetech/fivewin-contributions/downloads/peinfo.exe[/url:364kc6u9] |
Checkbox text disappears Harbour/MSVC | Antonio,
I still don't understand... <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
Anyway, what is the solution?
EMG |
Checkbox text disappears Harbour/MSVC | Enrico,
Never mind <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
First of all we need to be able to reproduce it. Up to now I haven't be able to reproduce it. Here it is working fine <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:... |
Checkbox text disappears Harbour/MSVC | Antonio,
It will not build with that in the .rc file because Visual Studio creates it's own manifest file, and thus the conflict throws a linker error.
Tim |
Checkbox text disappears Harbour/MSVC | [quote="Enrico Maria Giordano":1qs1jhqf]Antonio,
Yes, I'm using BCC690 but how the C compiler could make any difference? I don't understand... <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( -->
EMG[/quote:1qs1jhqf]
Off-topic.
I am using bcc582.
Are there any advantages in using ... |
Checkbox text disappears Harbour/MSVC | Tim
I remember a similar problem in folders when the dialog had a "Capion" clausure, try to remove it and see if it makes a difference.
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=27601&p=154059&hilit=caption#p154059">viewtopic.php?f=3&t=27601&p=154059&hilit=caption... |
Checkbox text disappears Harbour/MSVC | Rao,
[quote="nageswaragunupudi":318d6a9u]Off-topic.
I am using bcc582.
Are there any advantages in using bcc690 and where can I get it from?[/quote:318d6a9u]
At least it's an updated version. You can try it from here:
[url:318d6a9u]http://www.whosaway.com[/url:318d6a9u]
EMG |
Checkbox text disappears Harbour/MSVC | The issue becomes more complex. I began to wonder if perhaps the control should be True for TRANSPARENT ( the autocheckbox ) so I tried clicking on that property. Visual Studio wants to rebuild the .rc, and does a nice job of it, but then when trying to build it can't find the definitions for WS_POPUP which is a sta... |
Checkbox text disappears Harbour/MSVC | Tim,
I just tested this example using FWH 15.02 and FWH\samples\buildh32.bat:
test.prg
[code=fw:3vds4ju8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Ma... |
Checkbox text disappears Harbour/MSVC | Antonio,
1) Please remember that I am trying to get this working with Visual Studio 2013 itself ( the IDE ). Using a make file is different. Especially for the future, we want ALL settings correct in VS 2013 ( and soon 2015 ).
2) With that said, I looked at your build file and noticed that I have several additio... |
Checkbox text disappears Harbour/MSVC | Antonio,
I've spent the day researching this and testing.
1) If I build the project inside UE Studio, using their .mak system, the controls work properly.
2) If I build the project inside MSFT Visual Studio 2013 with it's IDE, the controls behave as noted
3) The .prg, .rc, and .lib files used are exactly the same ... |
Checkbox text disappears Harbour/MSVC | Tim,
Solved. All you have to do is add
1 24 WindowsXP.Manifest to your resource file
[img:ktcpyyw4]https://bitbucket.org/fivetech/screenshots/downloads/visual_studio_community_FWH_1.JPG[/img:ktcpyyw4] |
Checkbox text disappears Harbour/MSVC | When I do that, and try to build, it generates:
1>CVTRES : fatal error CVT1100: duplicate resource. type:MANIFEST, name:1, language:0x0409
That is solved by giving the manifest a different id: 2 24 which allows it to then build without error.
However, it does not take away the problem !
Do you have a file... |
Checkbox text disappears Harbour/MSVC | Here are some of the command lines in my setup:
General:
[code=fw:35cwsffk]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Platform Toolset : <span style="color: #000000;">Visual</span> Studio <span style="color: #000000;">2013</span> <span style="color: #000000;">(</span> v120 <span style="color:... |
Checkbox text disappears Harbour/MSVC | Tim,
Here you have my working project:
[url:6x6tb91y]https://bitbucket.org/fivetech/fivewin-contributions/downloads/tim_project.zop[/url:6x6tb91y] |
Checkbox text disappears Harbour/MSVC | It would be far easier if you could do what I did above, and just cut and paste the items in an email.
The project build file is a bit different and not exactly easy to compare. I tried.
I simply went into each section in properties for the project, selected COMMAND LINE, and did a cut and paste. If you do that in... |
Checkbox text disappears Harbour/MSVC | Tim,
C/C++
[quote:1u1vcz1n]/GS /analyze- /W3 /Zc:wchar_t /ZI /Gm /Od /Fd"Debug\vc120.pdb" /fp:precise /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /errorReport:prompt /WX- /Zc:forScope /RTC1 /Gd /Oy- /MDd /Fa"Debug\" /EHsc /nologo /Fo"Debug\" /Fp"Debug\tutor01.pch" [/quote:1u1vcz1n]
Linker
[quote:1... |
Checkbox text disappears Harbour/MSVC | Tim,
If you can't find the difference all that I can think about is to have a TeamViewer session with you and I will build my example on your Visual Studio remotely.
Anyhow tomorrow I am flying to Barcelona and I wont be back until March 9. If I can get a good internet connection in Barcelona then we could do the Tea... |
Checkbox transparent win 7 not win xp | I have a checkbox that is transparent win 7 not win xp. Using resources, Transparent set at the define dialog.
All workinhg fine except not in windows XP. Any ideas.
Thanks in advance |
Checkbox transparent win 7 not win xp | Harvey,
maybe a transparent-problem with Resources ?
I changed all my Checkboxes using TSelex ( looks much better ).
or use a extra SAY and resize the Checkbox as small as possible :
[color=#0000FF:1tz3f94y]REDEFINE CHECKBOX oCheck2 VAR lCheck2 ID 230 OF oDlg1 UPDATE[/color:1tz3f94y]
add a extra SAY :
[color=#000... |
Checkbox transparent win 7 not win xp | Uwe:
Using the say worked fine. Thanks.
Just one more color problem. The transparent clause doesn't work with an undefined group.
Any suggestions? |
Checkbox transparent win 7 not win xp | Harvey,
using Resources, the same transparent-problem like Checkboxes.
( doesn't work on Dlg-ON INIT or PAINT )
Maybe You can include Class [color=#FF0000:mijn61vm]SBUTTON[/color:mijn61vm] from Manuel Mercado ?
using Resources works fine for Lines, Groups and Boxes like You can see.
I will have a look at my Tool ( Sc... |
Checkbox transparent win 7 not win xp | Harvey,
it seems to be a Brush-painting-problem of Resources.
Moving a Color-define from Dlg-INIT like :
[color=#0000FF:1emq9k55]DEFINE DIALOG oDlg1 RESOURCE "Selection" TRANSPARENT[/color:1emq9k55]
...
// COLOR
// -----------
DEFINE BRUSH oBrush COLOR 16443068
// BMP-BRUSH
// -----------
// DEFINE BRUSH oBrush FILE... |
Checkbox transparent win 7 not win xp | There seems to be a problem with ascending Field-order from Resource.
Changing the Order : lowest = Group / higher = Checkboxes, it works .
A higher Group ID covers the included Controls.
[img:3ruwokcs]http://www.pflegeplus.com/pictures/transp14.jpg[/img:3ruwokcs]
Best regards
Uwe <!-- s:lol: --><img ... |
Checkbox transparent win 7 not win xp | Uwe
Thanks for all the input. I'll be working on it in next couple of days. I'll keep you posted.
Regards |
Checkbox transparent win 7 not win xp | Uwe,
Thanks for your superb help as usual <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
Checkbox transparent win 7 not win xp | Thank You very much for the Response,
my new extended Res.-Tester will cover and test
all Controls ( [color=#FF0000:uvg6lzpr]transparent Painting [/color:uvg6lzpr])
There will be a complete new Download-file
[color=#0000FF:uvg6lzpr]A Resource-tester is still missing in my Tool-Collection !!![/color:uvg6lzpr]
Testing... |
Checkbox transparent win 7 not win xp | Uwe:
You have been great helping me out.
Not using gradient....can't get it to work.
But one more qusetion. How can you color: msfInfo(), MsgAlert(), msgget(), msgYesNo() etc.
Thanks for the help. |
Checkbox transparent win 7 not win xp | Harvey,
Gradient works fine. You can have a closer look, as soon I finished the new Tool for Download.
MsgAlert , MsgYesNo ... is Window-standard.
You can create Your own fancy Messages, or have a look at the post from Ramesh :
[color=#FF0000:2qh790kz][b:2qh790kz]Ramesh Babu P[/b:2qh790kz][/color:2qh790kz]-Functions... |
Checkbox transparente | Tengo el problema de haber puesto un gradiente como fondo de un diálogo, y aunque en los recurso le indico que el checkbox es transparente, así como le marco .t. la propiedad ltransparent, al final en tiempo de ejecución me sale con el color de fondo de windows.
¿Hay forma de hacerlo transparente?
Gracias y un saludo
... |
Checkbox transparente | try this
oChk:=array(n)
lchk:=.f.
x,y CHECKBOX oChk Var lChk ......
ochk[1]:ltransparent.=.t. |
Checkbox transparente | Gracias Silvio, así lo hice y no he conseguido que sea transparente.
Un saludo
José Luis |
Checkbox transparente | there is also a sample on samples folder !!!!!!!! |
Checkbox transparente | Silvio el checkbox lo tengo creado desde recursos, ¿no será eso un problema?
Un saludo
José Luis |
Checkbox transparente | no es the same |
Checkbox with three states | Is there a way to get a checkbox with three states, On, Off, and as before? This is as used in windows explorer for read only checkbox in properties etc.
Thanks,
Alex |
Checkbox with three states | Yes, use BS_AUTO3STATE style for the checkbox.
EMG |
Checkbox with three states | Hi,
Thank you, I actually found the sample as well. Had to modify the refresh method in checkbox.prg though, as most of that class is not aware of that style.
Alex |
Checkboxes and DTPicker in xBrowse | <!-- m --><a class="postlink" href="http://www.mediafire.com/imageview.php?quickkey=dmdip477dmd&thumb=4">http://www.mediafire.com/imageview.php? ... md&thumb=4</a><!-- m -->
En Capelblog vi que ourXdbu, esta herramienta maravillosa para manejo de tablas, està desarrollada en fwhx y xharbour...
En sus browses podemos ... |
Checkboxes and DTPicker in xBrowse | Hola José,
Mira a xBrowse <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->
Desculpe pelo meu Español <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: --> |
Checkboxes disappear pressing ALT in Vista | Hello,
when I compile following sample, the checkboxes and their text disappear pressing ALT, when I entered the dialog by using a mouse click. It looks like the dialog is being repainted as the underlines appear, but the text disappears at the same time.
It only happens on a Vista PC with Vista Design.
Is there a fix... |
Checkboxes disappear pressing ALT in Vista | Gilbert,
What FWH version are you using ?
You example built with FWH 8.03 is working fine here. |
Checkboxes disappear pressing ALT in Vista | We're using FWH710
Can you send me an executable .exe so I can test it?
My e-Mailadress is: kuhnert(at)ctosoftware.de |
Checkboxes disappear pressing ALT in Vista | Gilbert,
You have to add this code to the Class TControl Method HandleEvent():
[code:1r40zxhd]
#define WM_UPDATEUISTATE 0x0128
...
case nMsg == WM_UPDATEUISTATE
nResult = Super:HandleEvent( nMsg, nWParam, nLParam )
::oWnd:Refresh()
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.