topic
stringlengths
1
63
text
stringlengths
1
577k
Button con 2 renglones
Distinguido En texto asi: @1,1 BTNBMP oBMP PROMPT "Linea1"+CRLF+"Linea2" SIZE 80,30 PIXEL ACTION Funcion() Saludos Adhemar
Button con grafica e testo
Salve,mi pare di avere visto in giro qualche classe/programma che permette di creare botton con sia grafica che testo.Avete qualcosa da segnalarmi in proposito ?GrazieRomeo/ZingoniFWH 2.4
Button con grafica e testo
Chiaramente non voglio usare la classe BTNBMP in quanto permette si di scrivere il testo, ma in modo centrale e quindi si sovrappone alla grafica.Vorrei magari potere disporre il testo in basso o a dx o a sx del bottone, insomma non mischiarlo con la grafica.Romeo/Zingoni
Button con grafica e testo
La classe buttonbmp fornita con FWH (non la tbtnbmp) ti permette di allineare il testo a destra o a sinistra dell'immagine se ricordo bene (io la uso ma allineo sempre il testo a dx utilizzando la clausola TEXTRIGHT)
Button con grafica e testo
[quote="Romeo":1wx1sxtr]Chiaramente non voglio usare la classe BTNBMP in quanto permette si di scrivere il testo, ma in modo centrale e quindi si sovrappone alla grafica. Vorrei magari potere disporre il testo in basso o a dx o a sx del bottone, insomma non mischiarlo con la grafica. Romeo/Zingoni[/quote:1wx1sxtr]Sto ...
Button con grafica e testo
ok la btnbmp funziona bene.Grazie
Button de ButtonBar desactivado
Saludos foreros, Cuando uso una ToolBar, y algún boton esta deshabilitado, se visualiza con su texto y gráfico en gris. [img:1pvr19ue]http://imageshack.com/a/img837/1047/7de0.jpg[/img:1pvr19ue] Pero al usar una ButtonBar solo el texto tiene aspecto deshabilitado, alguna forma para que tambien el gráfico qu...
Button de ButtonBar desactivado
Hola Biel! El tercer parametro de los bmp o recursos que le pases es el del estado para deshabilitado. [code=fw:2vhgzk1u]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">BUTTON</span> <span style="color: #0000ff;">OF</span> oBar FILE <sp...
Button de ButtonBar desactivado
Ok muchas gracias !!. Ya veo el funcionamiento, por una parte te da la versatilidad de poder definir el bmp que quieras, pero por la otra te obliga a tener que definirlo obligatoriamente si quieres efecto deshabilitado. Revisando el funcionamiento de la clase, he intentado adaptarlo a como me gustaria que funcionase....
Button de ButtonBar desactivado
Biel, [quote:1a22rcv8]He modificado el método loadbitmaps de la clase BtnBmp, y si no se define el tercer bmp, creo una copia en memoria del primero, cambiando los bits con color por el gris y manteniendo el blanco. El efecto es el deseado, y es suficiente definir un bmp[/quote:1a22rcv8] Es una mejora muy interesante...
Button de ButtonBar desactivado
[quote="Antonio Linares":muchu9ks]Biel, Es una mejora muy interesante. Si la publicas la incluimos en FWH, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:muchu9ks] Sin problema Antonio <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Sm...
Button de ButtonBar desactivado
Biel, Muchas gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Button disabled looks different on folder and buttonbar
Hello, Working on a use-login-system I noticed some problems Why disabled buttons are showing with a different look ? In case it is not possible to show the normal disabled-style of BTNBMP inside a buttonbar, I have to change the image like in metrobuttons ( disabled ) and using a NIL-action [img:9uepos2k]http&#58;/...
Button disabled looks different on folder and buttonbar
Disabled look of TBtnBmp should be the same whether it is on window, buttonbar, or on a folder.
Button disabled looks different on folder and buttonbar
I added BtnBmp to a existing sample < TESTBTB.prg >with the same effect [img:vniklgzl]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Btndisabl2&#46;jpg[/img:vniklgzl] [code=fw:vniklgzl]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff00...
Button disabled looks different on folder and buttonbar
Btnbmp disabled on folderpages is showing only a grey area open a dialog NOWAIT I need the button shown DISABLED and ENABLE again on dialog close. [img:1aibz3jl]http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Btndisabl3&#46;jpg[/img:1aibz3jl] any idea ? regards Uwe <!-- s:?: --><img src="{SMILIES_PATH}/icon_question...
Button disabled looks different on folder and buttonbar
Uwe You don't need to define a second ( disabled ) bitmap parameter ... just use your current bitmap and FiveWin manages the Disabled parameter. Rick Lipkin
Button disabled looks different on folder and buttonbar
Rick, there is NO extra bitmap. After calling the dialog ( NOWAIT ), STEUER_B(oBtn2), the button is disabled. REDEFINE BTNBMP oBtn2 OF oFld:aDialogs[ 1 ] ; ID 210 PIXEL ; BORDER ; PROMPT " &Steuer " + " Berater " ; FILENAME c_Pfad1 + "Excel1.Bmp" ; ACTION ( STEUER_B(oBtn2), [color=#FF0000:jla8jcgk][b:jla8jcgk]oBtn...
Button disabled looks different on folder and buttonbar
Uwe I use 2007 as well .. then add the Gradient as the last parameter .. doing it much like you but I use the GRADIENT parameter instead of the gradient codeblock.. [code=fw:3caqgroj]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000...
Button disabled looks different on folder and buttonbar
Mr Uwe Please add 2007 clause to all BTNBMP defines and see. You should be able to see grayed bitmaps. Also add GDIP clause for better grayed painting. I confirm that grayed bitmap painting is not working on BtnBmp whether on buttonbar or outside a) when large images are used ( which need to be resized to fit the b...
Button disabled looks different on folder and buttonbar
Test program: [code=fw:3gt7u1ka]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">&#40;</span><span style="color: #000000;">&...
Button disabled looks different on folder and buttonbar
Fixed and the fix is available in FWH 17.03. Results after fixing [url=https&#58;//imageshack&#46;com/i/pnoDSZulp:37ekujm0][img:37ekujm0]http&#58;//imagizer&#46;imageshack&#46;us/v2/xq90/923/oDSZul&#46;png[/img:37ekujm0][/url:37ekujm0] Using GDIP clause has a definite advantage. This fix can be applied to earlier ve...
Button disabled looks different on folder and buttonbar
Rao Is the use of PIXEL needed with the GDIP clause ? [code=fw:3qq3fl15]<div class="fw" id="{CB}" style="font-family: monospace;"><br />@ <span style="color: #000000;">440</span>,<span style="color: #000000;">440</span> <span style="color: #0000ff;">BTNBMP</span> oBtn <span style="color: #0000ff;">PROMPT</span> <span ...
Button disabled looks different on folder and buttonbar
PIXEL clause is required to indicate that the nRow and nCol values in "@ nRow,nCol" are in pixels. Your REDEFINE command is okay as it is. If you prefer GDIP rendering, please add the clause GDIP anywhere in the command. If we specify the clause GDIP, the image is read and rendered using GDI+. But before that please ...
Button disabled looks different on folder and buttonbar
Mr Nages, i have a problem to insert the value 2010 or 2013 or 2015 I saw on include I have this [code=fw:15izhnof]<div class="fw" id="{CB}" style="font-family: monospace;">#xcommand @ <nRow>, <nCol> <span style="color: #0000ff;">BTNBMP</span> <span style="color: #000000;">&#91;</span><oBtn><span style="color: #00...
Button in Dialog not themed 7.05
On the latest FWH release, with the latest xHarbour, running in Vista. On a dialog, my buttons are the old boxy type although the rest of the dialog box sets to the Windows Vista theme. These are regular dialog buttons not bitmap buttons. Why not the rounded theme buttons ? Example: In the program code: REDEFIN...
Button in Dialog not themed 7.05
Tim, Please check that you are including WindowsXP.Manifest file in your resources, to get themes support
Button in Dialog not themed 7.05
Thats the first thing I checked ... and it is there. The Dialog box and background is fine. The edit fields are dark boxes and the buttons are square boxes ...
Button in Dialog not themed 7.05
OK ... in the .RC file there is also a reference to the manifest ... or their should be. However, I had updated the file using the Pelles resource compiler, and it eliminated that reference. I added it in with a text editor and got my themes back. Its a shame we don't have a stable resource compiler, 32 bit, Vista...
Button in Dialog not themed 7.05
Tim There was an earlier post on a resource ( free ) editor from Resedit .. I have not used it in production .. here is the link if you would like to download and try. <!-- m --><a class="postlink" href="http://www.resedit.net/">http://www.resedit.net/</a><!-- m --> Rick Lipkin SC Dept of Health, USA
Button in GET problem
Hello,Consider sample "GetBtn.prg".Now, change line 5 from:[code:1oa0245c]local oWnd, cTest &#58;= "Hello world!"[/code:1oa0245c]to[code:1oa0245c]local oWnd, cTest &#58;= "Hello world! "[/code:1oa0245c]Notice that cTest is now longer. This makes that cTest will scroll in the GET.N...
Button in GET problem
Patrick,The BUTTON is created as a child control of the GET, so you have to give the GET enough width so the text and the button don't overlay.
Button in GET problem
[quote="Antonio Linares":28ya3sr8]The BUTTON is created as a child control of the GET, so you have to give the GET enough width so the text and the button don't overlay.[/quote:28ya3sr8]So you can only use a button in a GET when the text its in the GET? Most of my gets are horizontal scrollable.Like for example a custo...
Button in GET problem
Patrick,The only way to get such behavior would be to find how to reduce the GET client area used to paint the text (if possible!).Lets google for it <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Button in GET problem
This seems as a possible solution: WM_NCCALCSIZE<!-- m --><a class="postlink" href="http://msdn.microsoft.com/en-us/library/ms632634(VS.85">http://msdn.microsoft.com/en-us/library/ms632634(VS.85</a><!-- m -->).aspx
Button in GET problem
Google is great <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --><!-- m --><a class="postlink" href="http://www.gipsysoft.com/articles/BuddyButton/">http://www.gipsysoft.com/articles/BuddyButton/</a><!-- m -->
Button in GET problem
[quote="Antonio Linares":1eko1prr]Google is great <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> <!-- m --><a class="postlink" href="http://www.gipsysoft.com/articles/BuddyButton/">http://www.gipsysoft.com/articles/BuddyButton/</a><!-- m -->[/quote:1eko1prr]Haha, great! Ju...
Button in GET problem
Hello Antonio,[img:2c657b22]http&#58;//geocities&#46;yahoo&#46;com&#46;br/qiinformatica2000/getbtn&#46;PNG[/img:2c657b22]You can adjust this?Thank´sRossine.
Button in GET problem
Hey Rossine,[quote:286se09n][img:286se09n]http&#58;//geocities&#46;yahoo&#46;com&#46;br/qiinformatica2000/getbtn&#46;PNG[/img:286se09n]You can adjust this? [/quote:286se09n]This is exact what we are talking about here. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->Patrick
Button in GET problem
Patrick,>Most of my gets are horizontal scrollable. As a user I would hate that. You can't see all the data; you have to scroll each GET one at a time.Here is what Alan Cooper has to say about horizontal scrolling, in his book "About Face The Essentials of User Interaction Design." He is talking about listboxes, but I ...
Button in GET problem
Hello James,[quote="James Bott":3grwf6lc]>Most of my gets are horizontal scrollable. As a user I would hate that. You can't see all the data; you have to scroll each GET one at a time.[/quote:3grwf6lc]I disagree. Lets say you have an address line on your form. You never know how many characters you need for a address ...
Button in GET problem
Patrick,We are already working on it to provide a fix asap using those urls info <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->James advise is very clever, but we understand that the GET has to properly work on those circunstances too.
Button in GET problem
Patrick:I use the BtnGet class and that problem I have solved with the MULTI-LINE property YESPls, try this, I hope this can help you.Best regards
Button in GET problem
Patrick,>I disagree. Lets say you have an address line on your form. You never know how many characters you need for a address line. So, you make the GET that holds the address line extra wide? Hmm.. design-wise? Not a good decision I think.Well, it doesn't really matter what you or I think (as programmers), it matters...
Button in GET problem
Hello,I have the same design as James.But many times users ask why the line I that long and you can’t fill in more than a certain number of characters.Sure you have to make the line a bit longer. There is a difference if there are many W’s or M’s or only I’s in a name.But reading the thread I thought why don’t one make...
Button in GET problem
Hi allI agree with James that horizontally scrolling GETs are ugly and confusing for the end user. They waste time during data input. Its interesting that if one is using xBase data files the problem shouldn't normally exist given that the data base itself will have finite field sizes. But of course SQL Server type ...
Button in GET problem
[quote="Antonio Linares":3kc3u3ix]We are already working on it to provide a fix asap using those urls info <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:3kc3u3ix]Thank you Antonio. <!-- s;-) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";-)" title="Wink" /><!-- s...
Button in GET problem
Hey James,[quote="James Bott":m2l0dfff]>I disagree. Lets say you have an address line on your form. You never know how many characters you need for a address line. So, you make the GET that holds the address line extra wide? Hmm.. design-wise? Not a good decision I think. Well, it doesn't really matter what you or I t...
Button in GET problem
Patrick,OK, after seeing your screen perhaps I misunderstood what you were describing. I thought that you were saying that all your GETs were too short for the typical entry so one could not see the entire entry for any of the GETs. This would be very frustrating.Now, it looks like yours are only used on the very rare ...
Button in GET problem
I tried something like that but somewhere is a mistake I can’t find out:@ 2, 2 GET oGet VAR cTest SIZE nWidth, 22 ON CHANGE (nLaenge := oGet:GetWidth(ALLTRIM(cTest)),;Iif(nLaenge > nWidth,( oGet:nWidth( nLaenge + 5 ),oGet:refresh() ,))Regards,Otto
Button in Window/Dialog Title bar
Hi Everybody, Is it possible to place a button in the title bar of either a window or a dialog? Thanks, Jeff
Button labels changing font size
I encountered a strange problem with FWH 12.04 that does not exist in previous versions. On my main( ) program, I create a window with a button bar ( oBar ). When I open a dialog, I will hide() the bar. When I return from the dialog, I again show( ) the bar. With the release of 12.04, I noticed that the font size c...
Button labels changing font size
Has anyone else seen this occur in 12.04 ?
Button labels changing font size
Can you post a little sample showing the problem? EMG
Button labels changing font size
Actually, no. It doesn't lend itself to that. The steps are: 1) In the Main( ) window, a button bar is created, called oReBar. Buttons are added to it. 2) When a dialog is ACTIVATEd, ON INIT includes oReBar:Hide( ). 3) When a dialog is closed, oReBar:Show( ) is issued. 4) In past versions, the bar was displayed...
Button labels changing font size
Hello Tim, I couldn't detect any problem : [img:3407gz9q]http&#58;//www&#46;pflegeplus&#46;com/pictures/BBart1&#46;jpg[/img:3407gz9q] [code=fw:3407gz9q]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><br />...
Button labels changing font size
Uwe Along those same lines .. I am seeing my Buttonbar with version 1203 just become un-responsive when I click on a button from a MDI buttonbar to a mdichild .. close the mdichild and from time to time the oBar seems like it is disabled and I have not disabled it in the mdichild. The only thing different in this but...
Button labels changing font size
Here is a small section of how I implemented this ... [code=fw:3gemqrtd]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />        <span style="color: #B900B9;">// Now open the window and apply settings</span><br />        <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WIN...
Button labels changing font size
Tim, Please replace this line: oWnd:oFont := oMfont with: oWnd:SetFont( oMfont ) as Fonts use (internal) counters to reuse them. If you assign it as you were doing it, the counter is not increased, but it is decreased when an object using the font ends, and then it reaches a point where you are instructing FWH to ...
Button labels changing font size
Thank you. Its working fine now.
Button labels changing font size
Well, I guess it is NOT working fine now. Here is the problem. If I simply open a dialog, then the error does not occur. HOWEVER, if I then set the focus to an xBrowse, and scroll down it, then leave the dialog, the problem appears. I checked the file carefully, and there is no re-definition of that font object. ...
Button labels changing font size
Bumping this up ... it is still unresolved ( see last comment please ). Thanks !
Button labels changing font size
Tim, How do you create oMfont ?
Button labels changing font size
oMFont is declared as a Public in the MAIN() module It is set only once, and never changed, using: cSysFont := GetSysFont( ) DEFINE FONT oMfont NAME cSysFont SIZE 0,-12 BOLD All dialogs then have FONT oMFont in their statement. Tim
Button labels changing font size
Tim, Are you calling oMFont:End() somewhere in your code ? Class TFont objects use a counter, so they can be shared among several objects (dialogs, controls, etc). When the counter (cCount) reaches zero then the font is really released. If your font gets released (thats why it changes) then it means that there are ex...
Button labels changing font size
I will track that. Nope .. I don't issue oMfont:end() anywhere ... Thanks for the info. Tim
Button on a cell in xbrowse
Hi everyone I need to put a Button calling xAction on a cell in xBrowse I have an array like this 1 - Normal - DoNormal() 2 - Special - DoSpecial() 3.- Green - DoGreen() I need to put a button on 3rd column to call the action, Number of Items vary, names of actions also, I can control it with no problem, b...
Button on a cell in xbrowse
This will give a buttun : [code=fw:1u0vf5ic]<div class="fw" id="{CB}" style="font-family: monospace;"><br />   WITH OBJECT oData<br /><br />      WITH OBJECT :<span style="color: #000000;">oCol</span><span style="color: #000000;">&#40;</span> <span style="color: #000000;">3</span> <span style="color: #000000;">&#41;</...
Button on a cell in xbrowse
[code=fw:3buekwif]<div class="fw" id="{CB}" style="font-family: monospace;"><br />oBrw:<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;">nEditType</span> := EDIT_BUTTON<br /...
Button on a cell in xbrowse
Very good for option, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
Button on a cell in xbrowse
Thanks.. ...trying it
Button on the xbrowse column
Hi, all ! Can I put a button on the xbrowse column header ?
Button on the xbrowse column
You can put a bitmap though not a button. You can use bLClickHeader to check the key and take action
Button on the xbrowse column
Mr. Rao thank you for your help. Yes, the button on the column header (a la Excel) would be more convenient. But if this is not possible I will use bitmap
Button tooltips
Antonio Any progress on showing tooltips for buttons ? Thanks Richard
Button tooltips
Richard, We expect to have them ready for next build
Button transparency
The buttons on a gradient-brushed dialog have a outsided rectangle with the color from the 0,0 point of the dialog and shows not transparency. Any solution? [img:3u0pal5h]http&#58;//byte-one&#46;com/button&#46;jpg[/img:3u0pal5h]
Button transparency
Günther, there was a discussion some month ago, the conclusion was, as far as I can remember, that this is normal windows behavior. Some MS-programs show this effect too.
Button without focus
I need to create a button that appears the number in the Edit / Combo active (focus) and the focus remains on the Edit / As. For example button "1", When I click on this button will display the number 1 in the Edit / Combo active (Just like when using the keyboard Windows Mobile). thanks, Fabio Souza
Button without focus
Fabio, You can give the focus to any control doing: oControl:SetFocus() i.e.: oGet:SetFocus()
Button without focus
Hi Fabio, This might also help. I had to have a larger input screen for numbers in my application. The code below allows the user to click a number then the focus automatically switches to the next get. [code=fw:10yhwrf0]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function...
Button without focus
After searching the forum I found two solutions The first is using a fake __keyboard and the other is manipulating the data with a function. See below: First Solution with a "fake" __keyboard(): [code=fw:1nwuerwc]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">STATIC</span...
Button-Actions added to new Class VTitle FWH 9.07
Hello, I started with the new Vtitle-Class and added Button-Actions : [img:1vfnnxan]http&#58;//www&#46;pflegeplus&#46;com/pictures/Vtitle10&#46;jpg[/img:1vfnnxan] As a Standard, it is not included. I used [color=#FF0000:1vfnnxan]oTitle:bLDblClick[/color:1vfnnxan] from TControl and selected the 4 Positions ( Top, Lef...
Button-Actions added to new Class VTitle FWH 9.07
I tested Titles with different Dialog-Backgrounds. There seems to be a Shadow-problem with Image-Background. All other Backgrounds are working. [img:ttqpjhp0]http&#58;//www&#46;pflegeplus&#46;com/pictures/Vtitle11&#46;jpg[/img:ttqpjhp0] Best regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:...
Button-Actions added to new Class VTitle FWH 9.07
Uwe, Nice contribution <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> We should implement it as a new method of the Class TTitle We are going to check the shadow issue, thanks
Button-Actions added to new Class VTitle FWH 9.07
Antonio, Can Give you an idea ? I made on my Painttitle class also animation bitmaps.....
Button-Actions added to new Class VTitle FWH 9.07
Antonio, all Tests with [color=#FF0000:3l3c8mr0]oTitle:lTransparent := .T.[/color:3l3c8mr0] Image-Background : [img:3l3c8mr0]http&#58;//www&#46;pflegeplus&#46;com/pictures/vtitle12&#46;jpg[/img:3l3c8mr0] Testing all possible Combinations : [code=fw:3l3c8mr0]<div class="fw" id="{CB}" style="font-family: monospace;"><...
Button-Actions added to new Class VTitle FWH 9.07
Hello Uwe... i think that it is correct way we need convert image to brush [code=fw:8md7xb8y]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> DL_IMAGE<span style="color: #000000;">&#40;</span> hDC, oDlg <span style="color: #000000;">&#41;</span> <br /><span...
Button-Actions added to new Class VTitle FWH 9.07
[quote="ukoenig":3g2a7oux]I tested Titles with different Dialog-Backgrounds. There seems to be a Shadow-problem with Image-Background. All other Backgrounds are working. [img:3g2a7oux]http&#58;//www&#46;pflegeplus&#46;com/pictures/Vtitle11&#46;jpg[/img:3g2a7oux] Best regards Uwe <!-- s:lol: --><img src="{SMILIES_PATH...
Button-Text not adjusted to BMP (TEXTRIGHT) ?
Hello, I noticed, using : REDEFINE BUTTONBMP oBtn1 ID 110 OF oFld:aDialogs[1] ; ACTION MsgAlert("Test" ) ; BITMAP aPICTURES[1][3] PROMPT aBTNTEXT[1][1] [color=#FF0000:2agipd9n]TEXTRIGHT[/color:2agipd9n] oBtn1:cToolTip = { "TButtonBMP","Test", 1, CLR_BLACK, 14089979 } oBtn1:oFont := oTextFont the Button-Text is ...
Button-group RADIO-style
Hello, I needed a button-group that works like radios. The position of the selected button is saved to a INI. After a new start, the saved button shows the status ( selected image ). That all works like a radio, but with a visual-effect. The result : [b:1x3999tq]A color selection[/b:1x3999tq] [img:1x3999tq]http&#58...
Button-group RADIO-style
Uwe, You could use a group of TBitmap controls and keep track of all them using an array. But not sure if you can make a TBitmap control paint as a circle. have you ever tried it ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
Button-group RADIO-style
Antonio, thank You for the info, I will have a closer look at this solution and tell about the result. best regards Uwe <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
Button-group RADIO-style
[code=fw:4wsxyq23]<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</span> SRCCOPY      0x00CC0020<br /><br /><span style="color: #00C800;">static</span> oBmp, nSelect := <s...
Button-group RADIO-style
Mr. Rao, Trying the function, there was a problem painting the buttons ( only a visible border ). I found another possible solution with a visible focus : Different button-styles : 1. coloed buttons 2. buttons with image and connected text like normal radios. -- The textcolor could change on focus as well. [img:3k6h...
Button-group RADIO-style
we should never use loop variables in codeblock created inside a loop. We should use detached variable concept. you can find many examples. I provided an approach in my sample. you can improve upon it to your taste
ButtonBMP
Hola a todos. Estoy empezando a pasar mi primera aplicación a 32 bits- así que a partir de ahora os daré un poco la lata- y tengo algunos problemas con los botones: Quiero eliminar de los diálogos los botones Borland y sustituirlos por otra clase, he probado con ButtonBMP, pero me encuentro que si los defino como But...
ButtonBMP
Sebastián, Revisa el ejemplo samples\TestBuBm.prg
ButtonBMP
Antonio, eso fué lo primero que miré. He comprobado que si el BMP del botón está en un fichero sale bien, pero si está en la librería de recursos, aun siendo el mismo dibujo, sale como si estuviera pulsado. Es decir REDEFINE BUTTONBMP oBtn1 ID 781 OF oDlg BITMAP "BMP_SI.BMP" //Se ve bien no se ve igual que: REDEF...
ButtonBMP
Sebastian, Aqui tienes un ejemplo funcionando correctamente usando un bitmap desde recurso: <!-- m --><a class="postlink" href="http://hyperupload.com/download/018caba742/test.zip.html">http://hyperupload.com/download/018caba ... t.zip.html</a><!-- m -->