topic
stringlengths
1
63
text
stringlengths
1
577k
change font to ALL dialogs
Changing Font of all Gets- and Says : Also see : <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=18940">viewtopic.php?f=3&t=18940</a><!-- l --> [img:3lerumtb]http&#58;//www&#46;pflegeplus&#46;com/pictures/newfont1&#46;jpg[/img:3lerumtb] [code=fw:3lerumtb]<div class="fw...
change font to ALL dialogs
Hi, Thanks but I can´t apply that. I need to create bigger Dialogs when the Screen resolution is higher. So at the start of my application I define a FONT accorting to the screen and all the dialogs should use that font. Regards <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><...
change font to ALL dialogs
Hi, I use in my program as your mention. I have a screen to define font and save in .ini file and then read at start of the program. [code=fw:gqw6vkhs]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">if</span> file<span style="color: #000000;">&#40;</span>cFoPath+<span style="c...
change for rpreview.prg
Hello, It would be nice to have such a dialog then clicking on Print, so as to indicate Printer, pages, interval, copies... [img:1xe4hqdt]http&#58;//i49&#46;tinypic&#46;com/mtkqo7&#46;png[/img:1xe4hqdt] Thanks.
change for wbrowse
Hi, How can I add to wBrowse style like Windows 7 in xBrowse plase?. Just the look at the bar, not the multiselect: [img:34i3g85h]http&#58;//i47&#46;tinypic&#46;com/f05c7m&#46;png[/img:34i3g85h] Thank you very much.
change from Dbf to tree and vice versa
Could you convert this small example using Tdatabase() and using a combobox instead of btnbmp to select tree->dbf [code=fw:1poi73ja]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00C800;">function</span> TestTree<span style="color: #000000;">&#40;</span><span style="color:...
change function cTempFile
Hi to all, Is possible to change in std mode the function "cTempFile" in this way ? [code=fw:13hphxby]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> cTempFile<span style="color: #000000;">&#40;</span> cPath, cExtension <span style="color: #000000;">&#41;</span>...
change function in runtime
Hi, I would like to change a function in run time mode. This function is in a 3rd party LIB, but in some cases I must change it in runtime mode. So I can´t have a function with the same name in my code, as I don´t wan´t always to replace it, only sometimes. Is there a way?. Thank you,. <!-- s:D --><img src="{SMILIE...
change function in runtime
Why not use a DO CASE to call whatever function you need? James
change function in runtime
James, I can´t as the function is defined in a external LIB and used very much in the code. Something linke def/indef but in runtime mode. Thanks <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
change function in runtime
Ok, but still couldn't you do a global change of the function name in the app to call a different function that does an IF ELSE statement? You can then set a flag during run-time that determines which function is used. For example, change all calls to oldFunction() to myFunction() then add this function. [code=fw:3fc...
change function in runtime
James, I can´t do that. I invoke in my code the 3rd party function and it is used many many times.
change function in runtime
Mgsoft, Please review this topic <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=12588&start=0&hilit=symbol">viewtopic.php?f=6&t=12588&start=0&hilit=symbol</a><!-- l -->
change function in runtime
[quote:20q9cyqg]I can´t do that. I invoke in my code the 3rd party function and it is used many many times.[/quote:20q9cyqg] Using Ultra-Edit I can do a search and replace in all files in a project in just a few seconds. Your editor must have a similar function. James
change function in runtime
Antonio, Thanks a lot!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
change in errsysw.prg
Hi, Is possible that the dialog is a little more bigger, because some times the text does not show all lengh in: @ 0, 20 SAY oSay PROMPT OemToAnsi( cMessage ) ; CENTERED OF oDlg FONT oFont SIZE 400, 20 Also, is it possible to add a Button to send the error.log via MAIL/MAPI?. Thank you. Those changes are...
change in errsysw.prg
This is a function to send me errors when the occur\ [code=fw:95u8wjo7]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> james<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span> <br />   <span style="color: #00C800;">local</span> oMa...
change in errsysw.prg
You could try just adding some spaces to the end of cMessage. This way the part that might not show would always just be blank spaces. Regards, James
change in errsysw.prg
Yes, I can fix it, but it is a waste of time patching FWH classes with [b:b15nhuuv]each [/b:b15nhuuv]new build. Also, there are 2 or 3 releases each month. I think it is very useful to add both changes (more space and a button to send the error via MAPI). But maybe I am wrong.
change in errsysw.prg
[quote:2c1e6gxq]Also, is it possible to add a Button to send the error.log via MAIL/MAPI?. [/quote:2c1e6gxq] FWH 11.06 provides for specifying post error action and here the programmer can implement his own behavior after an error is displayed in the dialog, At the start of the program: [code=fw:2c1e6gxq]<div class="...
change on line a combo
I wish change on line a combobox items because the final user could select ( and hide) a columns [img:29kpbg7c]https&#58;//i&#46;postimg&#46;cc/43DzfKn1/clienti&#46;png[/img:29kpbg7c] I have a combobox with the name of the columns of the oBRowse having the current columns of the oBrowse how do i know if the user ha...
change on line a combo
[quote="Silvio.Falconi":2lnb1etq] if the user moves the column with the checkbox on third position then it doesn't work well as the user always has to click on the first column to select the record, this is an error that you should fix[/quote:2lnb1etq] If you use the header name and not the number of the column, ...
change on line a combo
[quote="Marc Venken":1wi4h42u][quote="Silvio.Falconi":1wi4h42u] if the user moves the column with the checkbox on third position then it doesn't work well as the user always has to click on the first column to select the record, this is an error that you should fix[/quote:1wi4h42u] If you use the header name and ...
change on line a combo
[quote="Otto":3rrgyjik]Hello Silvio, Just a suggestion. All of your questions revolve around the same example. Why don't you post the source code of this example? Then everyone would benefit from it, and we could try to help you much more quickly. Best regards, Otto[/quote:3rrgyjik] Please compile the test [b:3rrg...
change on line a combo
Hello Silvio, Just a suggestion. All of your questions revolve around the same example. Why don't you post the source code of this example? Then everyone would benefit from it, and we could try to help you much more quickly. Best regards, Otto
change on line a combo
... continuation of my previous post I like your design very much. Best regards, Otto
change on line a combo
Hello Silvio, I do not have the source. Best regards, Otto
change on line a combo
Samples folder of fwh
change on line a combo
Silvio, I am sorry I do not have it. Maybe I have to update my samples. Best regards, Otto
change on line a combo
[code=fw:2bu2990y]<div class="fw" id="{CB}" style="font-family: monospace;">aItems := <span style="color: #000000;">&#123;</span><span style="color: #000000;">&#125;</span><br />AEval<span style="color: #000000;">&#40;</span> oBrw:<span style="color: #000000;">aCols</span>, <span style="color: #000000;">&#123;</span> |...
change on line a combo
thanks RAO I must insert it on click on header ? I tried with :bLClickHeader := { ||changeBrw(oBrw,aHdrs,oCbx) } [code=fw:2rgf4k1v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">'fivewin.ch'</span><br /><span style...
change on line a combo
I've created a small lookup table as you can see in this image I can select from the combobox where to search for a customer or a state [img:26rhbpsg]https&#58;//i&#46;postimg&#46;cc/9QnHWCRY/h&#46;gif[/img:26rhbpsg] in a dialog I can hide columns and a search still works but when I reinsert the hidden columns it m...
change on line a combo
Congratulations Silvio, excellent example. I modified it a little for my taste. Some things, I didn't understand, so I can't help much. Very good. [code=fw:2eu7wy6o]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// Cambiado por: <!-- e --><a href="mailto:kapiabafwh@gmail....
change on line a combo
[quote:3lto0bh4]/ ??? Para que sirve, Silvio? cIniFile := cFilePath( GetModuleFileName( GetInstance() ) ) + "tabledb.ini"[/quote:3lto0bh4] for save the state and other things
change on line a combo
Silvio, can you please try this: Function ChangeBrowse( oBrw, oControl) local aItems:= {} AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) oControl[2]:setItems(aItems) oControl[2]:refresh() oBrw:Se...
change on line a combo
[quote="karinha":2ho5pefr]Congratulations Silvio, excellent example. I modified it a little for my taste. Some things, I didn't understand, so I can't help much. Very good. .[/quote:2ho5pefr] same error [code=fw:2ho5pefr]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br />&nb...
change on line a combo
[quote="Otto":23st4i6i]Silvio, can you please try this: Function ChangeBrowse( oBrw, oControl) local aItems:= {} AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHeader))>0, AAdd( aItems, o:cHeader ) , ) ) } ) oControl[2]:setItems(aItems) oControl[2]:refresh() ...
change on line a combo
Hello Silvio, can you please try these changes: nField :=1 //header AAdd( aHdrs, "" ) AAdd( aColumns, "" ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, { ...
change on line a combo
[quote="Otto":2aivabiz]Hello Silvio, can you please try these changes: nField :=1 //header AAdd( aHdrs, "" ) AAdd( aColumns, "" ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change bac...
change on line a combo
Silvio, please undo [quote:5btp5raw]Hello Silvio, can you please try these changes: nField :=1 //header AAdd( aHdrs, "" ) AAdd( aColumns, "" ) for n= 1 to Len(aBrowse) AAdd( aHdrs, aBrowse[n][2] ) AAdd( aColumns, aBrowse[n][1] ) next And change back AEval( oBrw:aCols, { |o| If( o:lHide,, iif( len(alltrim(o:cHe...
change on line a combo
[quote="Otto":27z0i1a8]Silvio, please undo [/quote:27z0i1a8] Can you publish all the source please because here not run sample you must digit "atlanta" I digit on get "a" and then then oBrw refresh then I digit "t" and the brw not refresh it seems to have the cseek allways = "a" because when you digit "a" it not...
change on line a combo
ok Now seem run ok [code=fw:2mc4z0db]<div class="fw" id="{CB}" style="font-family: monospace;">    <span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br />    <span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"constant.ch"</span><br />    <span sty...
change on line a combo
Hello Silvio, a video with you! Best regards, Otto [url:m2xx4ixc]https&#58;//mybergland&#46;com/fwforum/xbrowse&#46;mp4[/url:m2xx4ixc]
change on line a combo
Nages can help me to make the search on my dialog pls
change on line a combo
[quote="Otto":3kthdc3m]Hello Silvio, a video with you! Best regards, Otto [url:3kthdc3m]https&#58;//mybergland&#46;com/fwforum/xbrowse&#46;mp4[/url:3kthdc3m][/quote:3kthdc3m] Otto I need the search on windows thanks
change on line header of xbrowse
I have a xbrowse and show an array but have different header I explain you the array is called aArray and it is calculate with two option [b:2d5p3cir]the first have this header [/b:2d5p3cir] [img:2d5p3cir]https&#58;//i&#46;postimg&#46;cc/DfxCN0Rm/1&#46;png[/img:2d5p3cir] [b:2d5p3cir]the second have this head...
change on line header of xbrowse
Silvio, creo que debeías rehacer los encabezados con una funcion en el ON CHANGE [code=fw:1h410ivj]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CHANGE</span> <span style="color: #000000;">&#40;</span>oBrw:<span style="color: #0000...
change on line header of xbrowse
[quote="cmsoft":2yvebbl9]Silvio, creo que debeías rehacer los encabezados con una funcion en el ON CHANGE [code=fw:2yvebbl9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">CHANGE</span> <span style="color: #000000;">&#40;</span>oBrw:...
change or put an image
I have a window with several tabs. On one tab I can put up to 15 small images. With a button I can select a new image to put on this tab. But how do I show this image? I have tried using setimage(), but that gives an error. Here is my code: [code=fw:mhqj81gu]<div class="fw" id="{CB}" style="font-family: monospace;">   ...
change or put an image
René, Please update the repository and I will pull it and check it
change or put an image
Please use the message SetFile() instead of SetImage()
change or put an image
Hello Antonio, I have updated the repository. The problem is the use of the &oImg. The program awnsers with Not Defined? René
change or put an image
René, Please try it this way: [code=fw:2zg05rf1]<div class="fw" id="{CB}" style="font-family: monospace;"> &nbsp; <br /><br />&nbsp; &nbsp; &nbsp; &nbsp; @ <span style="color: #000000;">40</span>, <span style="color: #000000;">650</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #ff0000;">"New p...
change or put an image
Hello Antonio, This code does not work. I get an error: Code block contains both macro and declared symbol references 'NPLANTNUM' I will try some other things next days Regards, René
change or put an image
In which of the 15 images the new image should be placed at ?
change or put an image
Hello Antonio, In which image it should be placed is depending on the number of photo's I have from that plant. So if a plant has 3 photo's, the new image should be placed on number 4. I will try another approach be defining several buttons where I can add a new image. By hiding most of them and using the function to...
change or put an image
René, > the number of photo's I have from that plant if you know such number in advance then you can do: { oImage1, ..., oImage15 }[ nNewPhoto ]:SetFile( cFileName )
change or put an image
Hello Antonio, The action with arrays did not work, but I have another solution: I create buttons under the picture and with these buttons I can move an image and add or delete one. But how can I disable or enable a BTNBMP. This works with BUTTON, but not with BTNBMP. But the bAction works with BTNBMP but not with BUT...
change or put an image
Hello Antonio, I have taken a complete new approach for the adding and changing images. Instead of showing all the images at once I put the names of the images in an array and show one of the images when i click on an item of a listbox. Now I am able to disable and enable buttons. Here is the code I now use: [code=fw:6...
change or put an image
René, great! Is it working fine then now ?
change or put an image
Hello Antonio, Yes, the solution I have made is perfect. "Sometimes, if things don't work the way you want, want them the way they work." Again I am one step further in developing my program. René
change or put an image
very good <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
change position of say get and button
Hello, If one resizes the window I want to be able to place the labels (say), get, buttons and browse on another position. How is this possible. I tried with SetPos(), but that did not do the trick. Also I want to be able to change the size (height and width) of a browse when the main window is resized. Is there a com...
change the brush of a say
the Box style make a gray Box on say [img:66ci1fdj]https&#58;//i&#46;postimg&#46;cc/PrFQjrkX/K&#46;png[/img:66ci1fdj] [code=fw:66ci1fdj]<div class="fw" id="{CB}" style="font-family: monospace;"> @ <span style="color: #000000;">89</span>, <span style="color: #000000;">115</span>   <span style="color: #0000ff;">S...
change the caption of a button
At the end of a procedure I try to change the caption of a button the button are normal button class oBtnCan:cCaption:="Chiudi" oBtnCan:refresh() oBtnCan:enable() but not work any solution please ?
change the caption of a button
Prueba esto: oModi:setText( "Modificar" ) A mi en MDICHILD me funciona.
change the display of records in an xbrowse
I have a xbrowse as this Now it is order by Numbersyou see at right and I wish change the display ( position of the records) I mean if exist a sample to SwapUp() and SwapDown() a record into xbrowse
change the display of records in an xbrowse
Maybe this can help you: [code=fw:2qio252l]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">XBROWSE</span> oConcepto <span style="color: #0000ff;">ID</span> <span style="color: #000000;">200</span> <span style="color: #0000ff;">OF</spa...
change the display of records in an xbrowse
Francisco, I use dbf no array I have hard problems to converte on array and then reconverte into dbf
change the display of records in an xbrowse
Francisco I tried with array I made [code=fw:25jexjuy]<div class="fw" id="{CB}" style="font-family: monospace;"> aArray:= EL-><span style="color: #000000;">&#40;</span> FW_DbfToArray<span style="color: #000000;">&#40;</span><span style="color: #ff0000;">"ELNOME,ELORDINE"</span> <span style="color: #000000;">&#41;</sp...
change the display of records in an xbrowse
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=6&t=35168&hilit=fw_arrayToDbf&sid=f1e46cac70bd1ff3cbbae5ba5feb8828#p209254">viewtopic.php?f=6&t=35168&hilit=fw_arrayToDbf&sid=f1e46cac70bd1ff3cbbae5ba5feb8828#p209254</a><!-- l -->
change the display of records in an xbrowse
yes of course..fw_dbftoarray -> fw_arraytodbf but if you see the picture the records are changed the position but the second column (position) have the value not changed if i resave to dbf then is as before then it add record I must save the new postion , dbzap my dbf and use FW_ArrayToDBF but it seems to me t...
change the display of records in an xbrowse
First you should note that there is a memory DBF. It acts just like a DBF but it is in memory. You can even index it. Search the forum for an example. When the array (or memory DBF) is changed, then you just write that record to disk (or just that field). Then there is no exclusive use and zapping needed.
change the display of records in an xbrowse
Now run ok
change the header of a xbrowse
At present, you can not hide headers and show group headers only. Also we can not have common header for more columns. But we keep this in mind for future implementation.
change the header of a xbrowse
this is my xbrowse [img:3ljpta5w]https&#58;//i&#46;postimg&#46;cc/zX4fbWrP/mio&#46;png[/img:3ljpta5w] I would love to have it like this [img:3ljpta5w]https&#58;//i&#46;postimg&#46;cc/pXvHgZPv/hhh&#46;png[/img:3ljpta5w] How I can make ? I could directly cancel the second header where it says "1", "2", "3", "4", "5" ? ...
change the header of a xbrowse
[quote="nageswaragunupudi":3l3ozrzd]At present, you can not hide headers and show group headers only. Also we can not have common header for more columns. But we keep this in mind for future implementation.[/quote:3l3ozrzd] in addition to the common header for multiple columns, it is also useful to have the double gro...
change the ndatalines (xbrowse) on line - RESOLVED -
Initially a test line in the browse consists of a single example line WITH OBJECT oBrw IF lmore :nDataLines := 2 ELSE :nDataLines := 1 ENDIF ... END [code=fw:28u9gopn]<div class="fw" id="{CB}" style="font-family: monospace;">  :<span style="color: #000000;">b...
change the ndatalines (xbrowse) on line - RESOLVED -
Silvio, Please try : chr(13)+chr(10) in stead of CRLF COLUMNS "ID", "FIRST+CHR(13)+CHR(10)+LAST", ; "STREET+CHR(13)+CHR(10)+CITY+CHR(13)+CHR(10)+STATE+ '-' + ZIP" ; HEADERS "ID", "NAME", "ADDRESS" ; I can be wrong ))))
change the ndatalines (xbrowse) on line - RESOLVED -
nDataLines is used by xbrowse only while creating the browse for the first time for calculating the row height. After creation of the browse. i.e., during runtime, it is never used and changing the values does not do anything. During runtime, you can change the data oBrw:nRowHeight.
change the ndatalines (xbrowse) on line - RESOLVED -
[quote="Marc Venken":4ypp54iu]Silvio, Please try : chr(13)+chr(10) in stead of CRLF COLUMNS "ID", "FIRST+CHR(13)+CHR(10)+LAST", ; "STREET+CHR(13)+CHR(10)+CITY+CHR(13)+CHR(10)+STATE+ '-' + ZIP" ; HEADERS "ID", "NAME", "ADDRESS" ; I can be wrong ))))[/quote:4ypp54iu] Not correct. chr(13)+chr(1...
change the ndatalines (xbrowse) on line - RESOLVED -
[quote="nageswaragunupudi":35t9lsxp]nDataLines is used by xbrowse only while creating the browse for the first time for calculating the row height. After creation of the browse. i.e., during runtime, it is never used and changing the values does not do anything. During runtime, you can change the data oBrw:nRowHeight....
change the size of a bitmap
If I define on init a bitmap with : #define BMP_H 40 #define BMP_V 40 and then on my application make bitmaps with this size For nX := 1 To TOTX @ nrow, ncol BITMAP aBmps[ nY, nX ] RESOURCE "VUOTO" OF oDlg; SIZE BMP_H, BMP_V PIXEL ADJUST NOBORDER ncol:=ncol+BMP_V Next nX If I wan...
change the size of a bitmap
Hello Sylvio, [code=fw:3wpm0hw5]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">For</span> nX := <span style="color: #000000;">1</span> <span style="color: #0000ff;">To</span> TOTX<br />&nbsp; &nbsp; &nbsp;aBmp<span style="color: #000000;">&#91;</span> nY, nX <span style="...
change the size of a bitmap
Uwe I try it but then all bitmaps are moved look it please [b:16otbm43]First[/b:16otbm43] [img:16otbm43]http&#58;//img210&#46;imageshack&#46;us/img210/6741/firstt&#46;jpg[/img:16otbm43] [b:16otbm43]then [/b:16otbm43] [img:16otbm43]http&#58;//img141&#46;imageshack&#46;us/img141/2287/then&#46;jpg[/img:16otbm43] t...
change the size of a bitmap
Silvio, I had a look at Your Screenshots, There is a defined Gridsize ( Position Left, Upper ) where You paint the BMP's. In case You change the Size of the BMP, the Grid must be adjusted as well, before the new BMP is painted with a new Size. If You don't resize the Grid, the BMP's are shown interleaved, because the ...
change the size of a bitmap
there is none grid !! they are all bitmaps ....!!!!! I you see a grid is only a eye game
change the size of a bitmap
What Uwe is saying is still somewhat true if you are using a browse or not. If you change the size of the bitmaps you are going to have to compensate for this by changing where they are drawn on the screen. If you were using a browse then the browse would figure out the new locations as long as the row height and col...
change the size of a bitmap
James, I think after resizing, a new calculation is needed for the BMP-positions like You can see on the Screenshot-part. [img:3q5d70y8]http&#58;//www&#46;pflegeplus&#46;com/pictures/grid1&#46;jpg[/img:3q5d70y8] Best Regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-...
change the size of a bitmap
Uwe, >I think after resizing, a new calculation is needed for the BMP-positions like You can see on the Screenshot-part. Yes, that is what I was trying to say. New row and col positions will be needed for each bitmap. This may be less complicated than it seems, since you can do it two loops. for nRow for nCol = ...
change the size of a bitmap
this is the function draw the bitmaps oPanel is a dialog STATIC FUNCTION AssegnaBitmaps_NEW ( aBmps, aData, oPanel, nItem) Local nY, nX lOCAL nRow:=20 Local nCol:=BMP_V Local oGet[TOTY] local nFila:=1,x:=1 nY := 1 nX := 1 @ 5, 5 say "Fila" OF oApp:oPanel PIXEL SIZE BMP_H,BMP_V For nY := 1 t...
change the title bar of a windows application
Does someone know how to change the title bar of a windows application using the SetSysColors of Lib "user32". I'm using XP. Thanks in advance Otto
change the title bar of a windows application
Otto, Have you tested it with the colors defines used in GetSysColor() ? [url:29zrcwfy]http&#58;//msdn&#46;microsoft&#46;com/en-us/library/ms724371(VS&#46;85)&#46;aspx[/url:29zrcwfy]
change the title bar of a windows application
Hello Antonio, this is what I tried. But I get an error. Thanks in advance and best regards, Otto [code=fw:3anku6yq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#INCLUDE</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br /><span style="color: #00D7D7;">#define</spa...
change the title bar of a windows application
Otto, If you write in uppercase LONG here then the runtime error is solved: [code=fw:20r3153a]<div class="fw" id="{CB}" style="font-family: monospace;"><br />DLL32 <span style="color: #00C800;">Function</span> SetSysColors <span style="color: #000000;">&#40;</span> nChanges As LONG, lpSysColor As LONG, lpColorValues A...
change the title bar of a windows application
Hello Antonio, thank you. I read somewhere that if XP Themes is on the caption is a bitmap? I don't know it I understood this well nor what to do. Best regards, Otto
change the title bar of a windows application
Hello Antonio, [quote:24dksjdy]I am testing it in W7 and it properly hides the taskbar, but I don't see any color change[/quote:24dksjdy] Do you have another suggestion how to change the color of the caption? Best regards, Otto
change the title bar of a windows application
For me this program is working on XP, but only when [b:1pjb5q8l]Themes are disabled[/b:1pjb5q8l]. This program sets color of the Active Windows caption ( Yellow, Red ). [code=fw:1pjb5q8l]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000...
change the title bar of a windows application
Hello Mr. Rao, your source is working. But this seems not to be a solution. The COLOR_CAPTIONTEXT of all applications is changed. COLOR_ACTIVECAPTION on my VISTA PC works only with classic view. Thank you for your help and best regards, Otto
change the title bar of a windows application
SetSysColors() API function changes settings for the entire system. If you intend to change only for one application, then SetSysColors() is not the way.