topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ButtonBMP | aunque parezca mentira, sigo sin poder visualizar un buttonbmp como Dios manda. Tanto TEXT como BMP se pisan en el centro del Button y no consigo moverlos aun utilizando las 4 clausulas TEXTTOP, TEXT...
Los bitmap son 32x32 y perfectamente se arman si utilizo un BTNBMP
Revise los ejemplos de \Samples.
En mi PRG:
red... |
ButtonBMP | REDEFINE BUTTONBMP obtn[5] PROMPT "F5"+CRLF+ "Ex&trato" ID 4015 OF pfDlg BITMAP "PRINT" TEXTTOP CANCEL
Em PELLES :
Vert Alignment = TOP
Uso sem problemas
Aoki |
ButtonBMP de Rossini | Hola,
tengo el problema que con estos botones necesito hacer mas de una vez click con el raton sobre ellos para que se ejecute lo definido en ACTION, hay alguna solucion para ello?
saludos
Marcelo |
ButtonBMP de Rossini | Marcelo,
Te enviamos por email la clase de FWH, modificada compatible con la de Rossine para que la pruebes. Gracias. |
ButtonBMP de Rossini | Antonio:
Seria tabn amable de enviarme la clase Rosine a mi
tambien.
Muchas gracias.
Ruben Fernandez |
ButtonBMP de Rossini | [quote="Antonio Linares":3hildpdw]Marcelo,
Te enviamos por email la clase de FWH, modificada compatible con la de Rossine para que la pruebes. Gracias.[/quote:3hildpdw]
Gracia Antonio,
cambie el prg respectivo, si bien no tengo problemas con hacer mas de un click para que se ejecute el ACTION, pero ahora ya no se mu... |
ButtonBMP de Rossini | Te envio fivewin.ch por email |
ButtonBMP de Rossini | Antonio
Podrías enviarmelas a mí tambien.
Gracias
Toni Sales |
ButtonBMP de Rossini | Toni,
Enviados, |
ButtonBMP de Rossini | [quote="Antonio Linares":1nijd9gr]Te envio fivewin.ch por email[/quote:1nijd9gr]
Recibido Antonio, pero te coimento que el comportamiento sigue igual, otra idea?
saludos
Marcelo |
ButtonBMP de Rossini | Prueba este ejemplo. Aqui funciona correctamente:
<!-- m --><a class="postlink" href="http://hyperupload.com/download/0200ce8d51/testbubm.zip.html">http://hyperupload.com/download/0200ce8 ... m.zip.html</a><!-- m --> |
ButtonBMP de Rossini | [quote="Antonio Linares":28h5c0hk]Prueba este ejemplo. Aqui funciona correctamente:
<!-- m --><a class="postlink" href="http://hyperupload.com/download/0200ce8d51/testbubm.zip.html">http://hyperupload.com/download/0200ce8 ... m.zip.html</a><!-- m -->[/quote:28h5c0hk]
Antonio,
gracias, solucionado, reemplace el fivewi... |
ButtonBMP de Rossini | Antonio, podrías enviarme la clase a mí también por favor, y de ser posible el ejemplo, que de hecho ya no está disponible en el Hiperupload?
Gracias desde ya |
ButtonBMP de Rossini | Jose,
Enviada por email, |
ButtonBMP de Rossini | Antonio
me la podria enviar tambien a mi por favor.
Saludos
Marco A. Delgado. |
ButtonBMP de Rossini | Marco,
Vamos a publicarla dentro de pocos días en el build de Abril. |
ButtonBMP de Rossini | Olá Antonio,
Grande notícia <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> Toda comunidade será beneficiada com isto. Você pretende implementar as mudanças que eu fiz sobre a classe TFolder também ?
Eu realmente prefiro as próprias classe do fivewin do que as clas... |
ButtonBMP de Rossini | Rossine,
Si, también publicaremos los cambios de TFolder. En la clase TButtonBmp hemos cambiado algunas cosas.
Gracias! |
ButtonBMP de Rossini | OK Maestro <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Gracias, Saludos.
Rossine. |
ButtonBMP de Rossini | Rossini podrias enviarme la clase a mi tambien por favor.
saludos.
fernando sandoval ruiz |
ButtonBMP de Rossini | [quote="Antonio Linares":2ongwc5s]Marco,
Vamos a publicarla dentro de pocos días en el build de Abril.[/quote:2ongwc5s]
Entonio,
me prodrias enviar ese fuente a mi coreo por favor
saludos cordiales <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
ButtonBMP de Rossini | me uno a la peticion |
ButtonBMP de Rossini | Hola compañeros del foro
tengo problemas ya que tambien tengo que pulsar varias veces el el boton para que me responda
ojala y me puedan ayudar
saludos cordiales
jose Luis |
ButtonBar | Hola a todos:
Estoy implementando mis programas con las buttonbar, y me pasa lo siguiente:
Cuando pasa del menú principal a un menú de opciones, no puedo conseguir que se mantenga la letra inicial. Esta es la barra de menú de menú Principal:
[img:250e3suh]http://www.colthop.es/imagen01.jpg[/img:250e3... |
ButtonBar | Se me olvidaba:
He intentado quitar un botón de la ButtonBar con oBtn:End() y pese a que no funciona a partir de la instrucción no se quita la imagen de la pantalla y aparece como en segundo plano. Me podríais indicar coso se puede quitar.
Un saludo y gracias.
Carlos |
ButtonBar | [quote="colthop":o09daoay]Se me olvidaba:
He intentado quitar un botón de la ButtonBar con oBtn:End() y pese a que no funciona a partir de la instrucción no se quita la imagen de la pantalla y aparece como en segundo plano. Me podríais indicar coso se puede quitar.
Un saludo y gracias.
Carlos[/quote:o09daoay]
Prueb... |
ButtonBar | Hola Cristóbal:
Ante todo gracias por tu interés y en un principio parece que funciona pero pasa una cosa extraña después y es lo siguiente cuando tengo siete botones y quito por ejemplo el 3 todos se mueven uno a la izquierda pero cuando paso el ratón por el tercero (que antes era el cuarto) vuelve a mostrar el botón... |
ButtonBar | Carlos,
Puedes proporcionar un ejemplo para probarlo aqui ? gracias |
ButtonBar | Hola Antonio:
Me es muy difícil en este momento ya que como no sabia como solucionarlo quite las dos BUTTONBAR y sus botones y lo estoy sustituyendo por RIBBONBAR.
Pero era muy sencillo de recrear era en una ventana inical con un menú y se creaba la BUTTONBAR
Pongamos:
[code=fw:2hy4b68v]<div class="fw" id="{CB}" st... |
ButtonBar | Hello friends.
In ButtonBar is it possible to align all buttons from right to left?
Thank you |
ButtonBar | BtNRIGHT comand |
ButtonBar | In case BTNRIGHT puts only the last button on the right, is it correct? |
ButtonBar | YES
SAMPLE
DEFINE BUTTONBAR obar _3D SIZE 100, 32 OF oAllegati 2015 GDIPLUS BOTTOM NOBORDER
DEFINE BUTTON oScansiona OF obar ;
RESOURCE "SCANNER" ;
PROMPT "Scansiona" ;
LEFT BTNRIGHT;
ACTION MSGINFO()
OR
insert where you want but then you must insert also a resize function
oScansio... |
ButtonBar / Toolbar + Combobox ? | hi,
is it possible to add Combobox into ButtonBar / Toolbar under Fivewin <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
if yes how <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
[img:2sfo4x7f]https://i&#... |
ButtonBar / Toolbar + Combobox ? | Buttonbar is FWH's own control and we can, for sure, have other controls like combobox within buttonbar. |
ButtonBar / Toolbar + Combobox ? | Mr. Rao
Is it possible to also add a GET control to BUTTONBAR ?
Can you give an example please. |
ButtonBar / Toolbar + Combobox ? | [quote="albeiroval":26e9n6hh]Mr. Rao
Is it possible to also add a GET control to BUTTONBAR ?
Can you give an example please.[/quote:26e9n6hh]
Sample:
[code=fw:26e9n6hh]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</s... |
ButtonBar / Toolbar + Combobox ? | GREAT
thx for Sample |
ButtonBar / Toolbar + Combobox ? | Fine, thanks |
ButtonBar / Toolbar + Combobox ? | hi,
i have a Problem when place "only" 1 x GET into ButtonBar
as it can not "change" to other Control it does not "lostFocus" -> no VALID -> no GOTO <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
any Idea for a Workaround <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.... |
ButtonBar / Toolbar + Combobox ? | Example?
Regards. |
ButtonBar / Toolbar + Combobox ? | [quote="Jimmy":3r517zot]hi,
i have a Problem when place "only" 1 x GET into ButtonBar
as it can not "change" to other Control it does not "lostFocus" -> no VALID -> no GOTO <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
any Idea for a Workaround <!-- s:?: --><img src="{SMIL... |
ButtonBar / Toolbar + Combobox ? | hi,
[quote="nageswaragunupudi":27l02pa4]We need to have atleast 2 controls.[/quote:27l02pa4]
thx for Answer
i will include a 2nd Control |
ButtonBar / Toolbar + Combobox ? | In fact, it is the same situation when we have only one Get control on a dialog/window. |
ButtonBar 2007 - lPressed look | On Buttonbars without 2007 look the buttons appear differently with lPressed := .t. or .f.. I was using this functionality.
But with 2007 style, there is no difference in the appearance whether lPessed := .t. or .f.
As a workaround, for the time being, i am using two bitmaps, but the Pressed look is more meaningful ... |
ButtonBar 2007 - lPressed look | Just to serve as remainder in case this post unfortunately missed Mr. Antonio's attention please. |
ButtonBar 2007 - lPressed look | NageswaraRao,
Its on our todo list. Thanks, |
ButtonBar 3D | The new button bars with 2007 look great. For a while going back to the old 3d style button bars I noticed a small problem.
If we normally define a button bar as "DEFINE BUTTONBAR oBar OF oWnd SIZE 60,60 3D", it is working. But if we try the following code :
[code:204fwugz]
DEFINE BUTTONBAR oBar OF oWnd SIZE 60,60
oBa... |
ButtonBar 3D | You can not set that property later on. It has to be specified when you create the buttonbar:
oBar:l3D := .T.
If you want to use it or not, use two different sentences:
if lWant3D
DEFINE BUTTONBAR ... 3D
else
DEFINE BUTTONBAR ...
endif |
ButtonBar Non-2007 style Bitmap and Text Alignment | When button-bar is used without 2007 style, the bitmaps and prompts are getting mixed up.
Sample Source Code:
[code=fw:16fsrwio]<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: #00C80... |
ButtonBar Non-2007 style Bitmap and Text Alignment | Dear MR.Rao,
Here is a trick. I am sure that this is not a good solution, it is only a work around. <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->
[url=http://img704.imageshack.us/i/raom.jpg/:ttcwu1c9][img:ttcwu1c9]http://img704.imageshack.us/im... |
ButtonBar Non-2007 style Bitmap and Text Alignment | <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->)
This was not the intention |
ButtonBar Translucent | Really nice <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
ButtonBar Translucent | [url=https://imageshack.com/i/plE0gbaep:1i6vh3lu][img:1i6vh3lu]http://imagizer.imageshack.us/v2/xq90/921/E0gbae.png[/img:1i6vh3lu][/url:1i6vh3lu] |
ButtonBar Translucent | Show!!!!!! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
ButtonBar Translucent | Awesome ! |
ButtonBar Translucent | how create it ?
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32448">viewtopic.php?f=3&t=32448</a><!-- l --> |
ButtonBar Translucent | fwh\samples\bartrnsl.prg
In addition to the screnshot, the sample also has a transparency bar on msgbar to vary the degree of transparency.
You may also try \fwh\samples\btntrns.prg
This shows creation of translucent buttons (btnbmp) |
ButtonBar Translucent | thanks |
ButtonBar and buttons | I wish Know if is possible make a modify on buttonbar .
I explain you
I wish have the possibilty to move some buttons at the right angle as this :
[img:2gs42ij4]https://s13.postimg.org/6cvwfu9h3/image.png[/img:2gs42ij4]
this picture is made with a oldest class ( not of fwh) now run bad.
I trie... |
ButtonBar and buttons | Use clause BTNRIGHT
[quote:2y70z40j]
DEFINE BUTTON OF oBarMdi PROMPT "Exit" ;
FILE "D:\Fwh\FwhTeam\BmpsVS_32\MappedTracepointDisable_32x_24.bmp" ;
ACTION ( oWnd:End() ) [b:2y70z40j]BTNRIGHT[/b:2y70z40j] ;
GROUP LABEL "Salir" COLORS CLR_WHITE, METRO_OLIVE
[/quote:2y70z40j] |
ButtonBar and buttons | thanks run good
I made
[code=fw:1ilb9yoy]<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 ;<br /> filename <span style="color: #ff0000;">"help.bmp"</span> ... |
ButtonBar button with odragcursor problems | If a button in the buttonbar is also used to start drag operation by assigning a value to its data oDragCursor it is noticed that (1) the buttons bAction block is never executed, (2) mouse click on the button has no effect, (3) in case of 2007 style, when mouse is moved over the button, it is painted in orange color bu... |
ButtonBar display problems | Using a button bar, defined as:
REDEFINE BUTTONBAR oBarCL ID 101 SIZE 60,60 OF oFldCSE:aDialogs[1] 2015
oBarCL:bClrGrad := aPubGrad
And a resource:
CONTROL "", 101, "TBar", 0|WS_CHILD|WS_VISIBLE, 0,0, 645, 30
In a dialog, 650 wide
There are two problems:
1) The bar does not extend past the last button. I... |
ButtonBar display problems | Tim, modify with your gradient in this sample, try and post it
Sample:
[code=fw:2nnbwecw]<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 /><br /><span style="color: #00C800;">function</span> main<sp... |
ButtonBar display problems | Here is the gradient.
PUBLIC aPubGrad := { | lInvert | If( ! lInvert, { { 0.50,16776960,16777215 }, ;
{ 0.50,16777215,16776960 } }, { { 0.50,128,16777215 }, { 0.50,16777215,128 } } ) }
Please note my bitmaps are in the .rc file so it's not "the same"
Also, in your example, your dialog is 400 wide and your bar ... |
ButtonBar display problems | Ok, I understand the differences
I'll try with your instructions |
ButtonBar display problems | Tim,
I added a buttonbar to my new sample
instead of a RC-file for images I used a DLL
I cannot see any wrong paintings
All selected buttons are painted transparent.
<!-- m --><a class="postlink" href="http://www.pflegeplus.com/DOWNLOADS/Dlltest1.zip">http://www.pflegeplus.com/DOWNLOADS/Dlltest1.zip</a><!-- m -->
( ... |
ButtonBar display problems | Actual code:
[code=fw:zquygtkb]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> list01<br /> <span style="color: #B900B9;">// Labor rates list01</span><br /> <span style="color: #B900B9;">// Updated: 7/28/2015 2:59:33 PM</span><br /> <br /> <s... |
ButtonBar display problems | Here is another case:
1) The same bmps ( all Alpha, 32x32 ) display correctly in other bars and then this one is a total mess. ( No gradients ) Compare this to the picture above using the same icons where the gradient is fine.
2) The behavior is the same using Harbour / MSVC 2015 or using xHarbour ( .com )
3) Thi... |
ButtonBar display problems | Tim
The problem is the use of transparent clause in the definition of dialogue ( then BUTTONBAR show ok, also transparent )
[quote:1xzi63rr]
DEFINE DIALOG oDlg RESOURCE "LISTS" BRUSH oBrush [b:1xzi63rr]transparent[/b:1xzi63rr] OF oWnd TITLE "Labor Rates"
[/quote:1xzi63rr]
Please try
[code=fw:1xzi63rr]<div class="fw... |
ButtonBar display problems | This would be convenient to have the default focus:
ON INIT ( oBar:lTransparent := .F., .T. ) |
ButtonBar display problems | Take a look at the last screen shot I provided.
Adding this change, the bar extends the full width of the dialog, BUT the buttons you see without the gradient background still have no background.
I discovered the problem on those finally. In the past, the bitmap buttons used the TRANSPARENT clause. I left that in p... |
ButtonBar in Folders | I like to have two or more buttonbars ( tbar() ) in folders, so that the user can switch button bars by choosing the folder tab.
We can do with rebars and toolbars, but I like to do it with FWH buttonbars and folders.
Can this be done easily ? |
ButtonBar in Folders | NageswaraRao,
Please post a screenshot, thanks |
ButtonBar in Folders | This is a part of the screen shot from rebars.prg. This is done thro rebars and toolbar.
Instead I like to get similar functionality using FWH Buttonbar ( tbar() ) in FWH folders.
[url=http://imageshack.us:3ihavgo3][img:3ihavgo3]http://img227.imageshack.us/img227/3186/btnbarinfolderjx7.png[/i... |
ButtonBar in Folders | NageswaraRao,
Do you mean that you want to place a buttonbar on each dialog of a folder ?
If yes, then you can do it from the ON INIT clause of the main dialog:
[code:1sk3qbxx]
ACTIVATE DIALOG oDlg ;
ON INIT BuildBars( oFolder )
...
function BuildBars( oFolder )
local oBar
DEF... |
ButtonBar in a specific location ( Solved ) | Please put little sample for tests |
ButtonBar in a specific location ( Solved ) | Friends...
How to create a ButtonBar in a specific location in the Window?
The wiki shows:
@ <nRow>, <nCol> BUTTONBAR [<oBar>];
[SIZE <nWidth>, <nHeight>];
[BUTTONSIZE <nBtnWidth>, <nBtnHeight>];
[3D | 3DLOOK | _3D | _3DLOOK];
[TOP | LEFT | RIGHT | BOTTOM | FLOAT];
[OF | WINDOW | DIALOG <oWnd>];
[CURSOR... |
ButtonBar in a specific location ( Solved ) | Thanks for responding C. Navarro
I need to place the ButtonBar below the Title:
[code=fw:3hfrdqjy]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWndAGENDA <span style="color: #0000ff;">FROM</span> <span style=... |
ButtonBar in a specific location ( Solved ) | Christiano, try with this, and tell me ( my name is Cristobal )
[code=fw:28amnv55]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /><br /><span style="color: #00D7D7;">#include</span... |
ButtonBar in a specific location ( Solved ) | It worked!
Thank you very much |
ButtonBar in resource ? | I know how to create a Function with a button bar and bitmap buttons, then place it on a dialog. This requires me to have one function for the dialog and all its controls, and then a second one for the button bar and buttons which is then painted on the ACTIVATE command.
This works, but actually I want everything in ... |
ButtonBar in resource ? | Tim,
The problem with the buttonbar is that is a control that will hold other controls, and a standard resources editor does not allows to define controls that belong to other controls. Thats why we did not implement a Class TBar Method Redefine().
Anyhow, I have implemented here for you and you will see that it work... |
ButtonBar in resource ? | Antonio,
Thanks. That does allow for the resource to be used.
Maybe I'm missing something that may have been resolved in more recent versions. Use of DEFINE for the button bar and bitmap buttons would be fine IF I didn't have to create a separate function and then activate that when painting a dialog.
In other w... |
ButtonBar in resource ? | [quote:22we5a2m]ON PAINT in the ACTIVATE command.[/quote:22we5a2m]
Should be ON INIT in the ACTIVATE command. Not ON PAINT. |
ButtonBar in resource ? | Actually it is, and it's been working fine that way for a long time ... just experimenting with ways to do it better with METHOD in a class ....
THE SOLUTION: I simply made both functions into METHODS in the same class, and now they work fine.
My goal has been to unify similar code and condense it, putting most p... |
ButtonBar in resource ? | So, you want to create buttonbar and its buttons in the same function/method in which you create the dialog and also use the local variables of that function/method.
Can you please try this?
[code=fw:302z19fe]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span ... |
ButtonBar in resource ? | Whenever you need to pass lots of variables, you should be using an object. Then you only pass one object and you can use or change as many variables as you wish in the function or method you are passing to. Further, you don't need to return the object as any changes you make will exist in the object that was passed.
... |
ButtonBar in resource ? | [quote="James Bott":6pqg15vu]Whenever you need to pass lots of variables, you should be using an object. Then you only pass one object and you can change as many variables as you wish in the function or method you are passing to.[/quote:6pqg15vu]
Mr James
There is no need to "pass" any variables. Lots or few, the code... |
ButtonBar in resource ? | Rao,
Yes, granted, not with your solution. However, I was answering his original question--and it applies to lots of other situations too.
James |
ButtonBar in resource ? | Tim,
Here is your example using an object.
[code=fw:2kscabkr]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">Function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <br /> <span style="color: #00C800;">Local</span> oC... |
ButtonBar in resource ? | Mr James
If at all your code works, it should work with or without object and with or without a database.
The point is we can not define a buttonbar of a dialog within the same function (or method) that defines the dialog itself, whether from resource or source. The buttonbar has to be defined in the INIT clause of t... |
ButtonBar in resource ? | Good Afternoon,
Sorry for the delay. Rao I will work with your suggestion now and report back shortly.
Microsoft has a contest for Insiders that results in 2 days on campus meeting with senior staff. It requires a video explaining why we want to go. I just finished the recording and submitted my contest entry.
It ... |
ButtonBar in resource ? | James,
I'm way beyond that. Now I'm working on a class for my Vendor editor. I have a class for the vendor database, and one for the transaction database. Now I have the full screen editor which incorporates the browse and edit fields. All routines are called by bitmap buttons. It all works, but the button bar ha... |
ButtonBar in resource ? | Rao,
That didn't work. First, the dialog and controls are from resources, and the buttons are bitmaps. That may play into this since "create from code" does not apply.
When trying it, the program just stopped working, and shows no error message.
Tim |
ButtonBar in resource ? | Mr Antonio
This is my feedback while testing the modified bar.prg for creating buttonbar from resource.
1) Defining buttons on the buttonbar still need to be done in the ON INIT clause only. This is not an issue but for clarification only.
2) While defining buttons, we get runtime errors because oBar:l3D, oBar:nBtnW... |
ButtonBar in resource ? | Rao,
[quote:eue2cx6q]The point is we can not define a buttonbar of a dialog within the same function (or method) that defines the dialog itself, whether from resource or source. The buttonbar has to be defined in the INIT clause of the ACTIVATE DIALOG command.[/quote:eue2cx6q]
Yes, I understand that was your point.
... |
ButtonBar in resource ? | James,
I should have said "objects". In an Edit dialog there may be multiple data objects involved, and other variables may be in play ( arrays, etc ). They may also be changing status during the use of the edit control. Yes, they can be passed, but it has the potential for being more complex. When everything ... |
ButtonBar in resource ? | Ok, you could create an object just to contain everything you want to pass. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.