topic
stringlengths
1
63
text
stringlengths
1
577k
A problem in Vista
Marco, >Probably it it could happen in other situations but not in XP pro, Windows Server and Windows 7 As long as I have been programming in xbase (since the beginning of dBase) I have never seen an index that was affected by the Windows version, so from my experience it seems unlikely that this is what you are expe...
A problem in Vista
Hi Marco, [quote="MarcoBoschi":2l0elbua] Is there any known problem concerning Vista? [/quote:2l0elbua] The only problem I know with Vista is in a network environment. Here you have to disable [url=https://secure.wikimedia.org/wikipedia/en/wiki/Server_Message_Block:2l0elbua]SMB 2.0[/url:2l0elbua].
A problem in Vista
Marco, Perhaps it is a disk buffer issue. As a workaround, you could try a dbcommit() or closing and then reopening the database between creation and viewing the list where the invoice currently doesn't show. Regards, James
A problem in Vista
Marco, i have a windows 64 bit Home premium , and I have problem with ordsetfocus and sertorder ( cdx) , I worked on it from a week but the same cose run ok on wn xp prof 2600 also sp 3 then My friend Eduardo Freni of Florence sad me was happened : I erase the antivirus ( avira) from my computer and now it run ok, I n...
A problem in Vista
Falconi, Did you exclude scanning of DBFs and index files? Perhaps that would solve the problem. Databases and indexes should always be excluded at least for performance reasons. James
A problem in Vista
I will return the next day and then I will try Thanks to everybody marco
A problem in Vista
jAMES , I not Know why... for a sample now I have a strange problem with xbrowse for the bitmaps on header at right (line 8714) but on xp professional this not happen, it is perhaps windows seven ? I saw also the avira take cdx files as spyware...
A problem in Vista
news: In today's session: - I disable from norton antivirus the folder of the application. - first test: OK - second test After an Invoice creation: - I return to main Menu (there is a CLOSE DATABASE instruction) - I select "Invoce" - a list of all invoices appears except last five invoices - with emagdbu, the most ...
A problem in Vista
Erase all antivirus and spyware Avg seem run ok
A problem in Vista
Silvio: Ok
A problem in Vista
Marco, May I suggest this simple test. Use a copy of the invoice file and indexes. Create a simple program to open the file, add several new indexes, then close the file. Then reopen the file and use a browse to see if the new records are visible. You could probably do this with 20 lines of code or so. This test wo...
A problem in Vista
Marco If you are in a network environment, you may consider disabling smb2 , this is also true for vista If not try to delete your index and build it again Hth Richard
A problem in Vista
There are only two pc. This Vista PC has a shared volume This problem occur in this PC, locally. I will creat this simple test Thanks again
A problem in xBrowse to change from Row to Col-preview ???
Hello, i noticed a problem from changing Row- to Col-preview.Row-Colors[img:2igkngzj]http://www.pflegeplus.com/pictures/setting10.jpg[/img:2igkngzj]Column-Colors[img:2igkngzj]http://www.pflegeplus.com/pictures/setting11.jpg[/img:2igkngzj]The switching works only once. I can switch from R...
A problem in xBrowse to change from Row to Col-preview ???
Hello,After some more tests, i found the situation for the problem :I start a browser with col-display like this :oLbx0:aCols[ 1 ]:bClrStd := {|| { ROW_TEXT, ROW_COL1 } } oLbx0:aCols[ 2 ]:bClrStd := {|| { ROW_TEXT, ROW_COL2 } } oLbx0:aCols[ 3 ]:bClrStd := {|| { ROW_TEXT, ROW_COL1 } } oLbx0:Refresh() After showing the c...
A problem in xBrowse to change from Row to Col-preview ???
I think that after oCol:bClrStd is set it has preference on oBrw:bClrStd.When a column is created the default value from oCol:bClrStd is oBrw:bClrStd , this means that oCol:bClrStd is only set when it is nilMaybe you have always to set oCol:bClrStd (for each column) :[code:50sykta3] FOR EACH oCol IN oLbx0:aCols ...
A problem in xBrowse to change from Row to Col-preview ???
>I think that after oCol:bClrStd is set it has preference on oBrw:bClrStd.When a column is created the default value from oCol:bClrStd is oBrw:bClrStd , this means that oCol:bClrStd is only set when it is nil>Yes. For obvious reasons.>IF ( EVAL ( oLbx0:bKeyno, NIL, oLbx0 ) %2 == 0,>Simpler way to write this is " If( oL...
A problem in xBrowse to change from Row to Col-preview ???
Thank you very much for all the help.The work on the tools i can finish with this solution.Nearly all possible xBrowse-settings are tested and can be changed at runtime. This weekend, i create a download-link in the forum,hoping, the tools will be a help for the users.The final release will come after FWH-version 8.09 ...
A problem in xBrowse to change from Row to Col-preview ???
Hello,I changed the function BRW_HORIZ( oLbx0 ).The row-color-changes working fine.But there is still the problem :After switching to => BRW_VERTIC(oLbx0)the Row-display changes to Col-display.Calling BRW_HORIZ(oLbx0) again,the browser is not repainted.A download of the tools( nearly finished, the final-version comes...
A problem in xBrowse to change from Row to Col-preview ???
Hello,It seems, there is another runtime problem like the left record-bar :I changed the display from runtime to a extra dialog ( same like for the Rec-bar ).There it works.You can test this version, if you like :Download :<!-- m --><a class="postlink" href="http://www.pflegeplus.com/fw_downloads/Browsetest1.zip">http:...
A problem in xBrowse to change from Row to Col-preview ???
In the example above, you use oLbx0:bClrStd := { || aClrCol[ oLbx0:KeyNo % 2 + 1 ] } I don't see KeyNo as a data holder in xBrowse. There is a function. Can you explain this to me, or is there a change necessary for xbrowse ? I also noticed that the alternating color bars for xbrowse using this method don't alway...
A problem in xBrowse to change from Row to Col-preview ???
Hello Tim, there is nothing to add or to change. You can use the sample [color=#FF0000:345cqogo]testxbr2.prg [/color:345cqogo] for a Test and add some lines. Row-Color-Change [img:345cqogo]http&#58;//www&#46;pflegeplus&#46;com/pictures/xbrwcol1&#46;jpg[/img:345cqogo] Column-Color-Change ( Add the Line for < Lost-Foc...
A problem in xBrowse to change from Row to Col-preview ???
Dear Rao, [quote="nageswaragunupudi":2rfyz8so]> oCol:bClrStd := { || If( oLbx:KeyNo() % 2 == 0, { nCrl1, nClr2 }, {nClr3,nClr4} } [/quote:2rfyz8so] I've used this following but it shows below image. What's wrong? oTbw:KeyNo() is show on the most right column. [code=fw:2rfyz8so]<div class="fw" id="{CB}" style="font-...
A problem in xBrowse to change from Row to Col-preview ???
Mr Dutch If you are using ADSCDX of RDDADS, you experience this problem. In that case, replace "obrw:keyno" in your expression as "(oBrw:cAlias)->( OrdKeyNo() )" This gives correct count for the color block
A problem in xBrowse to change from Row to Col-preview ???
Dear Rao, Yes, master. You are absolutely right. I used "ADSCDX" and your comment is correctly. Thanks master, Dutch
A problem in xBrowse with => oBrw:nRecSelColor
Hello, I want to change the Rec-Select-Color at runtime.It seems, there is a problem.The background-color of the pointer changes.[code:lxjsk26z] oLbx20&#58;bLClicked &#58;= &#123; | nRow, nCol | ROW_POS6 &#58;= oLbx20&#58;nRowSel, ; SELCOLOR &#58;= NEW_SELCOL&#40;&#41;, ; // new selected color oLbx0&#58;...
A problem in xBrowse with => oBrw:nRecSelColor
As of now, we can not change it at runtime
A problem in xBrowse with => oBrw:nRecSelColor
Thank you very much,for the moment i leave it like that.I hope, it works with BITMAPS and BRUSHES.It is the next test.RegardsUwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
A problem in xBrowse with => oBrw:nRecSelColor
Hello,It seems, the complete Record-selector-part doesn't work at runtime.The background-color is disabled and the old pointer is still visible.( It means, for folder-page-preview No. 5, i have to open a extrapreview-dialog )[img:cl2r0zq8]http&#58;//www&#46;pflegeplus&#46;com/pictures/setting6&#46;jpg[/img:cl2r0zq8][c...
A problem in xBrowse with => oBrw:nRecSelColor
How i solved the problem :A copy of the original Browser is shown in a extra dialog.I think, nobody will change this at runtime in his application.It is just for the tools. That was the rest of the visual-part, i had to test. I couldn't find any other problems in xBrowse. [img:3740r8wv]http&#58;//www&#46;pflegeplus&#46...
A problem saving linecolors ( new image ) with xImage
Hello, I noticed a problem using xImage [color=#0000FF:19ydm99k]<[b:19ydm99k] save and paste [/b:19ydm99k]>[/color:19ydm99k] painting on a image and past as a new image from clipboard, the pen-color gets lost using past in any other programs like word it works. I think nobody did any paintings on a image before to see...
A problem saving linecolors ( new image ) with xImage
1) Try "SaveAsViewed" and save as bmp file. 2) Can you post your code how are you drawing on the image?
A problem saving linecolors ( new image ) with xImage
I used it otherwise the painting is not included [quote:1d5mmkv7]1) Try "SaveAsViewed" and save as bmp file.[/quote:1d5mmkv7] The same usage but with a quality-difference // xImage DEFINE BUTTON OF oDlg:oBar PROMPT "Save xImage" CENTER ; ACTION ( oImage1:Save( .T., c_path1 + "EXPORT\" + "SAVED1.JPG", 100 ), ; MsgI...
A problem to display last column using oBrw:GoRightMost()
Hello, because of many columns, I use [color=#0040FF:3t5u2w2l][b:3t5u2w2l]oBrw:GoRightMost() [/b:3t5u2w2l][/color:3t5u2w2l]on buttonaction to show the end-results. The last column is not shown complete. Normal crolling shows the full size of the last column. [img:3t5u2w2l]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/...
A problem to display last column using oBrw:GoRightMost()
Mr Ukoenig, Perhaps, a workaround: [code=fw:il3yisox]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> GO_RIGHT_MOST <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">GoRightMost</span><span style="color: #000000;">&#40;</span><span styl...
A problem to display last column using oBrw:GoRightMost()
I added : oBrw:GoRight() NO difference, only a part of the last column is shown. best regards Uwe <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
A problem to display last column using oBrw:GoRightMost()
Ok, Now try: [code=fw:3sv8x1ye]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#define</span> GO_RIGHT_MOST <span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">GoRightMost</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#...
A problem to display last column using oBrw:GoRightMost()
I found a solution : COLUMNS { "NACHNAME", "VORNAME", "RTYP", ; "KOST_RZH", "KOST_BEI", "KOST_PRI", ; "KRK", "KRX", ; "FK0", "PFX0", "PFK1", "PFX1", "PFK2", "PFX2", "PFK3", "PFX3", ; "B1X", "PBK", "PBX", "B2X", ; "PRA", "VPK", "VPX", "PRI", "BERG", "SUMME", "PKT_SUMME", "RECH_DATUM", [color=#0000FF:9b7w0fw9]"RECH_DAT...
A problem to display last column using oBrw:GoRightMost()
Thank You very much. The solution with the combination works fine. The GORIGHT - selection : REDEFINE BTNBMP oBtn3 OF oFld:aDialogs[ 1 ] ; ID 302 PIXEL 2007 ; BORDER ; FILENAME c_Pfad1 + "Rechts.Bmp" ; [color=#0000FF:1538byon]ACTION ( oBrw1:GoRightMost(), oBrw1:GoLeft(), oBrw1:GoRight(), oBrw1:Refresh() ) ;[/color:1...
A problem to display last column using oBrw:GoRightMost()
you're welcome best regards
A problem using METRO Menu ?
Hello, I noticed testing TOUCH.prg from /Samples DEFINE METROPANEL oMetro OF oWnd TITLE "Finances" ; COLOR CLR_WHITE, CLR_BLUE [color=#FF0000:ddpy01l1][b:ddpy01l1]oMetro:lDesignMode := .T. oMetro:nMetroTop = 250 oMetro:nMetroMargin = 100 oMetro:nBtnSize = 110 oMetro:nSliderTop = 170[/b:ddpy01l1][/color:ddpy01l1] DE...
A problem using METRO Menu ?
It is not possible because these are CLASSDATA of TMetroPanel class.
A problem using METRO Menu ?
Mr. Rao, thank You very much for Your help. The logic is working fine now and gives me the basics, to add the dialogs I noticed a problem on EXIT [color=#FF0000:mtdpna8j][b:mtdpna8j]ACTION oMetro:End()[/b:mtdpna8j][/color:mtdpna8j] The buttons are not working anymore the second time. Better using : [color=#0000FF:...
A problem with < oCtrl:cVarName > from TRadio and TDatepick
Hello, I noticed a problem using < [color=#0000FF:2jtq88ht]oCtrl:cVarName [/color:2jtq88ht]> that returns the object-name. [color=#0000FF:2jtq88ht][b:2jtq88ht]The function shows all infos of a object on focus[/b:2jtq88ht][/color:2jtq88ht] [img:2jtq88ht]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Focus2&#46;jpg[/im...
A problem with < BringWindowToTop >
Hello, To define a area, I want to keep the SAY visible on top in DESIGN-mode but < BringWindowToTop > doesn't help. Moving the SAY, it is shown behind all other objects. [img:xlf9rk83]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Cropped8&#46;jpg[/img:xlf9rk83] I can crop anything from the dialog with resize and i...
A problem with < BringWindowToTop >
Uwe, Your code is quite similar to FWH\samples\design.prg and design.prg does it right... I have been testing your example and can't understand why BringWindowToTop() is not working there
A problem with < BringWindowToTop >
Antonio, I only added some controls ( browser, say and get )to the original sample [color=#0040FF:2tat17hx]FWH\samples\design.prg[/color:2tat17hx] The only control that stays on top in DESIGN-mode is the listbox ( but only getting the focus ). Loosing the focus, it is covered as well. [img:2tat17hx]http&#58;//www&#46...
A problem with GDIP_IMAGEFROMFILE() [Solved]
Dear friends, I have a problem with the funcion GDIP_IMAGEFROMFILE(): normally it works fine but in one of my source code it just quit the program without messages or log files. I'm using it in this way: [code=fw:qcvcw7gp]<div class="fw" id="{CB}" style="font-family: monospace;">hImg = GDIP_IMAGEFROMFILE<span style="c...
A problem with GDIP_IMAGEFROMFILE() [Solved]
We recommend using FW_ReadImage( nil, cAnyImageSource, [aSize], [lGDIP] ) --> aImage Elements of aImage: { hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource, cType, nZeroClr } Destroy with PalBmpFree( aImage )
A problem with GDIP_IMAGEFROMFILE() [Solved]
Solved adding [code=fw:te2hk686]<div class="fw" id="{CB}" style="font-family: monospace;">REQUEST GDIBMP</div>[/code:te2hk686] EMG
A problem with GETCURSORPOS() and widescreen-monitor ?
I tested one of my old colorpicker-solutions. It seems with my widescreen-monitor it doesn't work anymore ? The cursor returns a wrong screenarea ( must return the color on mouseposition ). I remember with my old monitor 4:3 it was ok. [img:3jr6g5rx]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Getcurs1&#46;jpg[/img:3j...
A problem with GETCURSORPOS() and widescreen-monitor ?
Look if this sample can be of any help: [code=fw:2yv2zo6k]<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;</spa...
A problem with GETCURSORPOS() and widescreen-monitor ?
Enrico, it is a test with a existing tool that worked before. The problem is not the dialog it is the area of the mousecaption. <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=31155&p=180185&hilit=colorpicker#p180185">viewtopic.php?f=3&t=31155&p=180185&hilit=colorpicker...
A problem with GETCURSORPOS() and widescreen-monitor ?
I tested some samples like zoomer2.prg with the same wrong results The cursor must return the cursor area but returns something else. Maybe < [color=#FF0000:1izfwtw3]GetCursorPos() [/color:1izfwtw3]> does not work ? [img:1izfwtw3]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Zoomer1&#46;jpg[/img:1izfwtw3] [b:1izfwtw3]...
A problem with GETCURSORPOS() and widescreen-monitor ?
Can we see a reduced, yet complete, sample of the problem, please? EMG
A problem with GETCURSORPOS() and widescreen-monitor ?
Enrico, I used the [color=#0000FF:3sn9cdeg][b:3sn9cdeg]original FWH-samples [/b:3sn9cdeg][/color:3sn9cdeg] < zoomer.prg and zoomer2.prg > to show the results. regards Uwe <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
A problem with GETCURSORPOS() and widescreen-monitor ?
I just tried zoomer.prg and found it perfectly working. EMG
A problem with GETCURSORPOS() and widescreen-monitor ?
Enrico, maybe the problem is the selected screenresolution ? regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
A problem with GETCURSORPOS() and widescreen-monitor ?
Uwe What resolution use? What monitor ?
A problem with GETCURSORPOS() and widescreen-monitor ?
Cristobal, I found the reason : with the monitor it is possible to define a [color=#0000FF:3co3rsue]RESIZE-factor[/color:3co3rsue]. Normally 100 % is used ( tested and that works !!! ) Because to get a bigger display I used [color=#FF0000:3co3rsue][b:3co3rsue]125 %[/b:3co3rsue][/color:3co3rsue] THAT IS NOT SUPPORTED ...
A problem with GETCURSORPOS() and widescreen-monitor ?
Yes, I assumed it was that It happened to me when I developed the menus
A problem with GETCURSORPOS() and widescreen-monitor ?
[quote="ukoenig":3rrln1om]Cristobal, do You think there is any solution to respect this setting and adjust the returnvalues of < GetCursorPos() > ? regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->[/quote:3rrln1om] It's possible with DPI SCaling, but deve...
A problem with GETCURSORPOS() and widescreen-monitor ?
Cristobal, do You think there is any solution to respect this setting and adjust the returnvalues of < GetCursorPos() > ? regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
A problem with GETCURSORPOS() and widescreen-monitor ?
I found this HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics But this is better [code=fw:orhv3u3e]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#define</span> LOGPIXELSX &nbsp; &nbsp;<span style="color: #000000;">88</span><br /><span style="color: #00D7D7;">#defi...
A problem with GETCURSORPOS() and widescreen-monitor ?
And for know zoom active [code=fw:1p3ivoou]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#define</span> LOGPIXELSX    <span style="color: #000000;">88</span><br /><span style="color: #00D7D7;">#define</span> LOGPIXELSY    <span style="color: #000000;">90</span><br /><spa...
A problem with GETCURSORPOS() and widescreen-monitor ?
And generic function for calculate, please test it and tell me [code=fw:vql5vct1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #B900B9;">// Calcul...
A problem with GETCURSORPOS() and widescreen-monitor ?
Cristobal, all tests are using [color=#0000FF:dhorgvil]FUNCTION GETCOLOR() local hDeskTop := GETDC(0) local a := GETCURSORPOS() local nColor := GETPIXEL( hDeskTop, a[2], a[1] ) local hDC := oDlg:GETDC() local hPen := CREATEPEN( PS_SOLID, 1.5, CLR_HRED ) local hOldPen local nTop, nLeft local nWidth, nHeight[/color...
A problem with GETCURSORPOS() and widescreen-monitor ?
Yes, that should be the next step, but I need if you can prove it right Ok?
A problem with GETCURSORPOS() and widescreen-monitor ?
Cristobal I adjusted the top / left values of < GETCURSORPOS() > with a factor [color=#FF0000:3excx0mm]1.25[/color:3excx0mm] -> 1920 x 1080 of 125 % zoom linear with a factor [color=#FF0000:3excx0mm]1.5[/color:3excx0mm] -> 1920 x 1080 of 150 % zoom I tested all monitor areas with perfect results. maybe we doen't need...
A problem with GETCURSORPOS() and widescreen-monitor ?
Uwe, run OK with all factor zoom and all resolutions ? ( 125% is 1.25 )
A problem with GETCURSORPOS() and widescreen-monitor ?
Cristobal other resolution with a factor 1.25 -> 1600 x 900 with 125 % zoom I tested and works as well !! I think there is not much to do, we only have to define the selected zoom-factor. of the possible selection of [color=#0040FF:6xkf32nf]100, 125, 150 or 175 [/color:6xkf32nf]( zoom ) regards Uwe
A problem with GETCURSORPOS() and widescreen-monitor ?
[quote="ukoenig":3hhmlvgy]Cristobal other resolution with a factor 1.25 -> 1600 x 900 with 125 % zoom I tested and works as well !! it is only the possible selection of [color=#0040FF:3hhmlvgy]100, 125, 150 or 175 [/color:3hhmlvgy]( zoom ) regards Uwe[/quote:3hhmlvgy] And with zoom different to 125 run OK also?
A problem with GETCURSORPOS() and widescreen-monitor ?
Christobal, windows offers only these 4 values from a list I found only 125 % is making sense to get bigger symbols visible on the desktop [img:1qk887h1]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Zoom10&#46;jpg[/img:1qk887h1] regards Uwe
A problem with GETCURSORPOS() and widescreen-monitor ?
Yes, I know this, but You are used 1.25 number for adjust You are tested with zoom selected 175 ?
A problem with GETCURSORPOS() and widescreen-monitor ?
Christobal, 175 % tested and works as well ( but to big ) [img:32xfivaz]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Zoom11&#46;jpg[/img:32xfivaz] There is also a function for monitor [color=#0000FF:32xfivaz]STDAPI GetScaleFactorForMonitor( _In_ HMONITOR hMon, _Out_ DEVICE_SCALE_FACTOR *pScale );[/c...
A problem with GradientBrush()
In the sample gradbrus.prg, please try to click on "First" button, then on "Another" button and then close and reopen the second dialog many times. Now move the second dialog over the first. You will see that the first dialog is now painted with robbish. Any hint on how to fix this behavior? EMG
A problem with GradientBrush()
A reduced sample of the problem. Just click on the button and move the second dialog over the first. You will see the problem: [code=fw:3gxslcoc]<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 /><sp...
A problem with GradientBrush()
Dear EMG, I tested your sample code but I did not experience the problem which you have explained. For me it is working fine. I am using Vista Business, FWH 9.08. Regards Anser
A problem with GradientBrush()
So the problem is at least under XP. EMG
A problem with GradientBrush()
[quote:2mw42t9n]So the problem is at least under XP.[/quote:2mw42t9n] or with the recent versions of FWH ( after 9.08 ) Anser
A problem with GradientBrush()
Yes. I'm using 9.12. EMG
A problem with GradientBrush()
This is a workaround: [code=fw:3fdspgcd]<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="col...
A problem with GradientBrush()
Even worst. In the following sample, try to move the second dialog and you will see that the first dialog is painted: [code=fw:6er1mxv1]<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=...
A problem with GradientBrush()
It looks like the gradient technique is currently not usable. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> EMG
A problem with GradientBrush()
Enrico, like Anser, I use Vista as well. I call the Gradient-painting ON INIT using Function GRADIENTBRUSH Pushing the < Test-button >, opens Dialog 2 [img:2yb4cb8f]http&#58;//www&#46;pflegeplus&#46;com/pictures/move5&#46;jpg[/img:2yb4cb8f] Using a 2. Dialog, moving over Dialog 1 [img:2yb4cb8f]http&#58;//www&#46;pfl...
A problem with GradientBrush()
This seems to work fine but the checkbox is not transparent. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> Why? [code=fw:2cpm3fg2]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch...
A problem with GradientBrush()
Enrico, the transparent-painting for the checkbox works, but uses a wrong gradient ( from top ) with same colors ( no gradient ) : GRADIENTBRUSH( oDlg1, { { 1, RGB( 103, 154, 194 ), RGB( 103, 154, 194 ) } } ) [img:2oe7zcgg]http&#58;//www&#46;pflegeplus&#46;com/pictures/tr1&#46;jpg[/img:2oe7zcgg] Moving the checkbox...
A problem with GradientBrush()
[quote="ukoenig":2vierfdi]to solve this problem, I used only the checkbox-square and a extra text.[/quote:2vierfdi] It doesn't solve the problem because also the radio buttons are not transparent. <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> EMG
A problem with GradientBrush()
This is one more sample that unfortunately still shows the first problem I reported: [code=fw:191t3wxc]<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>...
A problem with GradientBrush()
Solution for the first sample posted. ( I have set another gradient brush to the second dialog also.) [code=fw:172gzyr1]<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;">FUNC...
A problem with GradientBrush()
You da man!!! Many many thanks! EMG
A problem with GradientBrush()
It would seem that we now need to move these changes into TDialog so one doesn't have to write code for each dialog using a brush. Regards, James
A problem with GradientBrush()
Rao, Many thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Lets see if we can migrate those changes into FWH classes
A problem with GradientBrush()
Enrico, Your examples on Windows 7 work fine Going to test them on XP...
A problem with GradientBrush()
Enrico, Statements like these should not be used: [code=fw:20tyqe6a]<div class="fw" id="{CB}" style="font-family: monospace;">oDlg:<span style="color: #000000;">oBrush</span> = TBrush<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span styl...
A problem with GradientBrush()
Can I use [code=fw:3d1625vv]<div class="fw" id="{CB}" style="font-family: monospace;">oDlg:<span style="color: #000000;">SetBrush</span><span style="color: #000000;">&#40;</span> TBrush<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800;">New</span><span sty...
A problem with GradientBrush()
Enrico, I'm still testing as well the Gradients and Brushes. I need a working example to adjust a Brush to Dialog-Size ( a Image is used ). I don't know what's wrong, but anyway, i don't get it working. The results don't look as aspected. // a. Now any image file ( jpg, png, etc. ) can be used to create a Brush. // b...
A problem with GradientBrush()
Yes, all my samples now work fine with Rao change. EMG
A problem with GradientBrush()
One more problem. How can I get transparent controls (ie. the SAY in the following sample) and [b:3b8eist1]not[/b:3b8eist1] transparent image control at the same time? [code=fw:3b8eist1]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;"...
A problem with GradientBrush()
Enrico, Yes, you can use: [code=fw:2f746siu]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oDlg:<span style="color: #000000;">SetBrush</span><span style="color: #000000;">&#40;</span> TBrush<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>:<span style="color: #00C800...