topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
ButtonBar in resource ? | Mr Tim
Please see
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30518">viewtopic.php?f=3&t=30518</a><!-- l -->
If you are reorganizing your code into two methods of a class, please wait. You may save lot of time with this new development. |
ButtonBar od DIALOG | Hi,
Is it possible to define buttonbar od dialog like on window. (not on INIT)
I have much buttons an more than hundred private variables, i dont want to send tehm all in function for creating buttonbar
and i dont want to declare them public
Regards, |
ButtonBar od DIALOG | I'm afraid not.
EMG |
ButtonBar od DIALOG | Enrico,
Thanks for reply
Any other solution ?
If i define WINDOW in place of DIALOG than i must change size of all objects <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Best regards, |
ButtonBar od DIALOG | You can create a dialog with TAB hidden folder and create the BAR in the folder dialog |
ButtonBar od DIALOG | cnavarro,
Thanks for reply
Little sample if you can please ?
Best regards, |
ButtonBar od DIALOG | Nose si esto te ayude, estoy ahorita haciendo algo a lo que quieres con folder...saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: -->
[code=fw:28hj5ith]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#i... |
ButtonBar od DIALOG | The only way I know to put a buttonbar on a dialog is with the ON INIT clause.
You can solve your PRIVATE vars issue by creating a class and declaring all the vars as DATA. Then you can just pass the class object. The object will then be holding all the data.
Think OOP.
You really shouldn't be using PRIVATEs or PUBL... |
ButtonBar on Dialogs: FWH 15.04 | Till now we had to define buttonbar on a dialog and bar buttons in a separate function called from ON INIT clause while activating the dialog.
Now it is possible to define the buttonbar and buttons in the same procedure/function creating the dialog, same way as in the case of a window.
\fwh\samples\barondlg.prg
[code... |
ButtonBar on Dialogs: FWH 15.04 | Creating buttonbar from resource.
[code=fw:1mjdjbbx]<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;">(</span><span styl... |
ButtonBar on Dialogs: FWH 15.04 | Great job dear Rao! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
ButtonBar on Dialogs: FWH 15.04 | This is a great new feature, Rao. Thanks!
James |
ButtonBar on Dialogs: FWH 15.04 | I will be using this when .04 is released. Thank you. |
ButtonBar on Dialogs: FWH 15.04 | [quote="Antonio Linares":rqhc8q6e]Great job dear Rao! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:rqhc8q6e]
+1 |
ButtonBar on Dialogs: FWH 15.04 | Good Morning,
how to make a combobox in buttonbar a dialog?
Thank´s
João Alpande |
ButtonBar on Dialogs: FWH 15.04 | Mira este ejemplo by Silvio Falconi...
[url:3utgo119]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=30868&p=177780&hilit=buttonbar+en+dialog#p177735[/url:3utgo119]
[code=fw:3utgo119]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <sp... |
ButtonBar on Dialogs: FWH 15.04 | Karinha, necesito usando recurso .rc
Gracias |
ButtonBar on Dialogs: FWH 15.04 | [code=fw:il19lcpg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> CAW110<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">LOCAL</span> oItem:=oMOpc, oBtnB:=oBBar , oDlg, oWChl... |
ButtonBar on Dialogs: FWH 15.04 | [quote="bpd2000":1bquhjif][quote="Antonio Linares":1bquhjif]Great job dear Rao! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->[/quote:1bquhjif]
+1[/quote:1bquhjif]
+1
I join in thanking Mr. Dao.
Un problema que me demoré demasiadas horas en resolver.
Ya es segundo inconv... |
ButtonBar on Dialogs: FWH 15.04 | Hola amigo
Según mi experiencia del último año, si quieres trabajar con .RC, Resedit y con ficheros. res Puelles C.
En el Foro creo que la mayoría usa. RC, yo personalmente después de haberme peleado mucho con Resedit ahora no tengo ningún problema, prueba y su te da algún error postea, seguro que lo resolvemos
... |
ButtonBar style 2015 | If I use the option l2015 how I must make each button to have another color (or on evidence) when each button have lpressed:= .t. ?
thanks |
ButtonBar style 2015 | You may assign your color gradient
oBar:bClrGrad := <your gradient> |
ButtonBar style 2015 | with oBar:bClrGrad := <your gradient> I change the color of the bar and not the buttons ....
::oBar1:bClrGrad := { | lPressed | If( ! lPressed,;
{ { 1, nRGB( 253, 254, 255 ), nRGB( 179, 217, 255 ) } },;
{ { 1, nRGB( 179, 217, 255 ), nRGB( 253, 254, ... |
ButtonBar style 2015 | Silvio,
Remember that the pixel color at 0, 0 of the bitmap is used to specify the transparent color to use.
This is an example:
[img:1t1v8m0i]https://bitbucket.org/fivetech/screenshots/downloads/calc.bmp[/img:1t1v8m0i] |
ButtonBar style 2015 | Antonio sorry but I tried yesterday with many colors filled |
ButtonBar style 2015 | Silvio,
It is the way we do it in FiveDBU, Fivedit, etc.
Please modify those examples to reproduce it or please provide a complete example, thanks |
ButtonBar style 2015 | now I tried also with that color
and not run ok |
ButtonBar style 2015 | my test ( also to see the error of this topic <!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32405">viewtopic.php?f=3&t=32405</a><!-- l --> )
[img:3sqojlia]http://www.eoeo.it/wp-content/uploads/2016/05/nn.jpg[/img:3sqojlia]
[code=fw:3sqojlia]<div cl... |
ButtonBar style 2015 | Silvio,
Antonio wrote :
[quote:1p86suqj]Remember that the pixel color at 0, 0 of the bitmap is used to specify the transparent color to use.[/quote:1p86suqj]
You have to break the outline ( just one pixel ) to use a color
otherwise the color will be used as TRANSPARENT
You cannot use the full backgroundarea.
[img:1p... |
ButtonBar style 2015 | Uwe this is not the problem
I wish the buttonbar with styles 2003|2007|2010|2013|2015
and the btnbmp when are lpressed := .t. must be different color as you see the btnbmp on 2007 when you move the mouse over
on 2015 i not see this difference
ok I cannot use 2015 style ?
if you download angelwrite and use it on ... |
ButtonBar style 2015 | The two styles 2007 and 2015
color changed on focused buttons from transparent -> 2007 yellow and 2015 blue
I noticed PRESSED doesn't change the background
[img:1kqfxmso]http://www.pflegeplus.com/IMAGES/Btncolor3.jpg[/img:1kqfxmso]
I tested on Speedcommander
there is a colorchange on PRESSED as well
... |
ButtonBar style 2015 | Uwe,
for and 2015 blue
you use a specific color gradiant ?
because here I not see the difference
[img:4dw43zko]http://www.eoeo.it/wp-content/uploads/2016/05/mio.jpg[/img:4dw43zko]
do you see the btnbmp pressed ?
I see only a black box but I set a specific color
AEval( aBar2, { |x| x:nClrBorder:... |
ButtonBar style 2015 | Nothing special just 2015 defined
DEFINE BUTTONBAR oBar SIZE 33, 33 _3D OF oWnd [color=#0000FF:1kk770uv]2015 [/color:1kk770uv]// 2007
but I'm using Windows 10
regards
Uwe <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D --> |
ButtonBar style 2015 | How i can modify the colors
if move the mouse over the comboBox it is colorized of blue, also the spinners of get but the btnmbp not ...why ? |
ButtonBar style 2015 | Silvio,
just tested < DEFINE BUTTON uses BTNBMP > :
define < oBtn[1] OF oBar > and You can use BTNBMP - options
As well have a look at < samples\[color=#0000FF:wmn7qoqr][b:wmn7qoqr]Testbtb.prg [/b:wmn7qoqr]>[/color:wmn7qoqr] for changing images if needed.
DEFINE BUTTON [color=#0000FF:wmn7qoqr][b:wmn7qoqr]oBtn[1] [/b... |
ButtonBar style 2015 | By default, we can use only 2 colors.
1) Normal color
2) Mouse Over or Pressed
If we want to have 3 colors
1) Normal Color
2) Pressed
3) Mouse Over
please try this sample and adopt:
[code=fw:eo639s7b]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="co... |
ButtonBar style 2015 | Thanks Mr Rao this sample is good.. go to make a test to my app!!! |
ButtonBar style 2015 | Dear Mr Rao,
I have a oBar and on this I have two oBar
[b:15dzucgu]DEFINE BUTTONBAR oBar OF ::oWndMain 3D SIZE 26, 84[/b:15dzucgu]
oBar:bLClicked := { || NIL }
oBar:bRClicked := { || NIL }
[b:15dzucgu] @ -1, -1 BUTTONBAR ::oBar1 OF oBar 3D SIZE oBar:nWidth - 1, 29 ;
BUTTONSIZE 26, 27[/b:15dzu... |
ButtonBar style 2015 | Mr Rao taking your test I made some modification ( as I have on my app)
[code=fw:1kvesmth]<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> Btntest<span styl... |
ButtonBar style 2015 | Thanks Mr Rao
[img:1t9kiqhp]http://www.eoeo.it/wp-content/uploads/2016/05/GOOD.jpg[/img:1t9kiqhp]
It was what I wanted to do |
ButtonBar y BTNBMP | Solucionado mi consulta anterior, lo que no visualizo son los ButtonBar y BTNBMP, los cuales en fw16 sí lo hacen. Estan todos declarados en forma y los leo del recurso creado. Puede ser un error de compilación...
Estan declarados de la siguiente forma:
DEFINE BUTTON RESOURCE "remito" of oBarrabotones;
TOOLT... |
ButtonBar y BTNBMP | Tampoco me funcionan en los ejemplos que trae el fwh25, están compilados con los mak que trae el mismo. Cuando hice un programa con fwh25 me los mostraba, y ahora no me los muestra, hay que tener algún archivo en especial...
Gracias |
ButtonBar y BTNBMP | Luis,
Prueba el ejemplo samples\TestBtnB.prg que debería funcionarte bien. |
ButtonBar y BTNBMP | Antonio, lo que hice fue reinstalar el fwh (ya que compilaba también los ejemplos y pasaba lo mismo???), y bueno ahora los BTNBMP funcionan perfecto, lo que me sigue sin mostrar son las imágines de la barra de botones, el ejemplo de fwh funciona pero estamos llamando a los bitmaps desde disco, y en mi caso lo hago des... |
ButtonBars for Dialog | I can not find BottonBar functions well with Dialogs Only with Windows . Is this Right ? if So, It is written in NG :
Bar Commands
[ OF | WINDOW | DIALOG <oWnd> ] ;
function main()
local oBar
DEFINE DIALOG oDlg From 1,5 to 20,65 TITLE "FiveWin TWBrowse Power!!!"
DEFINE BUTTONBAR oBar siz... |
ButtonBars for Dialog | You can place a buttonbar at a dialog from the ON INIT clause of the dialog:
[code:17qobupe]
ACTIVATE DIALOG oDlg ;
ON INIT PlaceButtonBar( oDlg )
...
function PlaceButtonBar( oDlg )
local oBar
DEFINE BUTTONBAR oBar size 20,20 of DIALOG oDlg
return nil
[/code:17qobupe] |
ButtonBars for Dialog | Hello Antonio,
is to declare OK as Static the best solution or is there an other way to end a DIALOG from a Bar?
BTW: in your example I think DIALOG too much
DEFINE BUTTONBAR oBar size 20,20 of DIALOG oDlg
DEFINE DIALOG oDlg From 1,5 to 20,65 TITLE "FiveWin TWBrowse Power!!!"
DEFINE BUTTONBAR oBar size 20,20 of DIA... |
ButtonBars for Dialog | You can delare Ok as local as pass it by reference:
ON INIT PlaceButtonBar( oDlg, @Ok ) |
ButtonBars for Dialog | I tried by reference but with no success.
Regards
Otto
#INCLUDE "BOX.CH"
#INCLUDE "FILEIO.CH"
#INCLUDE "FIVEWIN.CH"
#INCLUDE "FOLDER.CH"
#INCLUDE "INKEY.CH"
#INCLUDE "REPORT.CH"
function Main()
LOCAL oWnd
DEFINE WINDOW oWnd from 1,1 TO 30,60 TITLE "TEST";
MENU bldMenu()
ACTIVATE WINDOW oWnd
... |
ButtonBars for Dialog | Otto,
It should work, if not, then declare it as static |
ButtonBmp + Escape | Amigos todos,
Tengo un pequeño inconveniente con los botones BUTTONBMP y la tecla ESCAPE, en ambiente MDI utilizando dialogs NOWAIT incrustados en MdiChilds.
He condicionado la salida (odlg y Child) mediante GetKeyState(VK_ESCAPE) y me funciona correctamente.
Ahora bien, si el focus lo tiene cualquier objeto que no sea... |
ButtonBmp + Escape | Francisco,
Establece que cuando se cierre el dialogo, cierra la window
saludos
paco |
ButtonBmp + Escape | Francisco, gracias, asi lo hago.
Mira aqui: <!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=3&t=25387#p138243">viewtopic.php?f=3&t=25387#p138243</a><!-- l -->
Saludos. |
ButtonBmp + Escape | A mi me pasaba a menudo.
Da igual los controles que pusiera, se seguía cerrando el cuadro de dialog sin cerrar el mdi.
Además no podía reproducirlo. Pasaba a veces.
Hasta que que lo he conseguido anulando las llamadas en KeyChar que cierran la ventana
[code=fw:2iwmkgyv]<div class="fw" id="{CB}" style="font-family: mo... |
ButtonBmp + Escape | Fernando,
Gracias por contestar.
Hice las modificaciones indicadas en copias de las classes TMDICHILD y TDIALOG, y el comportamiento es el mismo.
Como explicaba antes, solamente sucede si el focus lo tiene cualquier TBUTTONBMP al momento de oprimir la tecla ESCAPE.
Lo que pretendo es que el usuario no pueda salir del... |
ButtonBmp + Escape | por favor intenta agregar esto:
solo funciona con xharbour, si usas harbour debes incluir la lib xhb y el archivo hbcompat.ch
salu2
carlos vargas
[code=fw:15k73h5p]<div class="fw" id="{CB}" style="font-family: monospace;"><br />....<br /> OVERRIDE <span style="color: #00C800;">METHOD</span> GetDlgCode IN <span styl... |
ButtonBmp + Escape | Carlos,
Muchisimas gracias. Precisamente hace unos instantes acabo de postear para Uwe, la posible solución que encontré y es esta.
Voy a probar tu código.
[code=fw:2kdqqlxm]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//-------------------------------------------------------... |
ButtonBmp + Escape | Hola Carlos,
He probado tu solución y funciona!!!.
Voy a mantener las dos opciones, por si acaso una de ellas me falla.
[code=fw:2cs2mlwh]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">//------------------------------------------------</span><br /><span style="color: #B900... |
ButtonBmp + Escape | Francisco, gracias por el arreglo
lo otro, si utilizas la clase TSBROWSE, y te posisionas en cualquier columna y presionas la tecla ESC este se sale del dialogo dejando todo abierto |
ButtonBmp + Escape | Hola Patricio.
No he usado la TSBROWSE. Sin embargo, si me envías un ejemplo autocontenido, y todos los componentes de la classe, podría intentarlo.
Saludos. |
ButtonBmp + Skins CodeJock Solved | Ja so long that I had the problem with buttons ButtonBmp skins using Codejock.
When passing the mouse over the button bitmaps were not shown, after times could solve this.
In mousemove method must be called again display, however, this only if the button has Tooltip.
The changes are below:
In class TButtonBmp
METH... |
ButtonBmp - Escape | Friends all,
I have a small issue with the BUTTONBMP buttons and the ESCAPE key in MDI environment using embedded NOWAIT MdiChilds dialogs.
I conditioned the output (oDlg and Child) by GetKeyState (VK_ESCAPE) and it works correctly.
Now if the focus are on any object other than ButtonBmp, the condition works well. But ... |
ButtonBmp - Escape | Francisco,
Yes without < oDlg:bKeyDown >, on Btn-focus, the ESC-key didn't work.
You can add :
[color=#FF0000:396rx0op][b:396rx0op]oDlg:bKeyDown := { | nKey, nFlags | iif( nKey == VK_ESCAPE, oDlg:End(), ) }[/b:396rx0op][/color:396rx0op]
A sample
MDI- window => MDI-child => Dialog from MDI-Child ( NOWAIT ) => Dialog... |
ButtonBmp - Escape | Dear Uwe,
Your sample works fine, but I had referred to BUTTONBMP, not BTNBMP.
Please take a look at fallowing code.
If a BUTTONBMP has the focus and we press ESCAPE, the dialog closes, but the MDICHILD still open.
I think this behavior comes from the TButton class since TButtonBmp is inherited from that.
With BTNBM... |
ButtonBmp - Escape | Francisco,
I will check it and tell You the result
Best Regards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
ButtonBmp - Escape | Uwe,
Thanks for your attention.
Regards. |
ButtonBmp - Escape | Francisco,
It works with the changed VALID
ACTIVATE DIALOG oDlg NOWAIT ;
[color=#0000FF:1vfpqsuz][b:1vfpqsuz]VALID ( oWndChild:End(), .t. ) ;[/b:1vfpqsuz][/color:1vfpqsuz]
ON INIT oDlg:Move(0,0)
[color=#FF0000:1vfpqsuz]// VALID if(!GetKeyState(VK_ESCAPE), ( oWndChild:End(), .t. ), .F.) [/color:1vfpqsuz]
Best Regard... |
ButtonBmp - Escape | Uwe,
Yes, but the fact is that I want the user can not leave if he uses the key escape.
Best regards. |
ButtonBmp - Escape | Francisco,
somewhere in the forum there is a function
You can enable / disable the esc-key.
found maybe useful for You :
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=3&t=9202&start=0&hilit=disable+esc">viewtopic.php?f=3&t=9202&start=0&hilit=disable+esc</a><!-- l -->
Bes... |
ButtonBmp - Escape | Uwe,
Thanks. Right now I'm reading the post you say.
Meanwhile, check this out:
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=6&t=17845&hilit=escape#p131289">viewtopic.php?f=6&t=17845&hilit=escape#p131289</a><!-- l -->
Regards. |
ButtonBmp - Escape | Hi Uwe,
I think I found out the solution. Please make the below changes in TButton Class and try the sample.
Please let me know if it is the right way.
[code=fw:24iriula]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #B900B9;">//-----------------------------------------------------------... |
ButtonBmp - Escape | Francisco,
I tested Your changes.
It just disables the ESC-key of the [color=#FF0000:1fm5kgs2]Child-dialog[/color:1fm5kgs2].
Opening a normal Dialog from the Buttonbar or another Dialog
from the Child, the ESC-key still works.
[img:1fm5kgs2]http://www.pflegeplus.com/pictures/dlgesc1.jpg[/img:1fm5kgs2... |
ButtonBmp - Escape | Uwe,
The goal is to solve why when a ButtonBmp has the focus, the escape key is triggered.
What I mean, is that the goal is not to disable fully the escape key, only somewhere in the code of a program.
Now, about the sample, if you add to your code If (GetKeyState () in the valid clause of the dialog to prevent exit... |
ButtonBmp - Escape | Uwe,
I forgot, here's another possible solution
<!-- l --><a class="postlink-local" href="http://fivetechsupport.com/forums/viewtopic.php?f=6&t=25386#p138280">viewtopic.php?f=6&t=25386#p138280</a><!-- l -->
Best regards. |
ButtonBmp - Escape | Francisco,
tested the valid with some of my tools.
Modal-wnd with dialog-calls
Dialog ( no Window ) with dialog-call
also tested with empty dialogs
I couldn't find any problem and the dialogs with the valid have been blocked of closing, using the ESC-key.
Best Regards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon... |
ButtonBmp - Escape | Uwe,
Many thanks for your time .
Best regards. |
ButtonBmp TABSTOP | Hi,
How I can change buttonbmp status to TABSTOP or not TABSTOP in execution program?
Thanks in advance. |
ButtonBmp TABSTOP | [code=fw:2b7shumc]<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: #00D7D7;">#define</span> WS_CHILD <span style="color: #000000;">1073741824</span> <span style=... |
ButtonBmp TABSTOP | [quote="Cgallegoa":pc9yfa0o][code=fw:pc9yfa0o]<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: #00D7D7;">#define</span> WS_CHILD <span style="color: #000000;">107... |
ButtonBmp TABSTOP | Hi,
TestBmp.prg
[code=fw:7930q6kz]<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;">(</span><span style="color: #0... |
ButtonBmp TABSTOP | [quote="Cgallegoa":2g3xjsn4]Hi,
TestBmp.prg
[code=fw:2g3xjsn4]<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;">(<... |
ButtonBmp TABSTOP | [code=fw:1fpa7k9f]<div class="fw" id="{CB}" style="font-family: monospace;">? oBtn:<span style="color: #000000;">WinStyle</span><span style="color: #000000;">(</span> WS_TABSTOP <span style="color: #000000;">)</span> --> lActive<br />oBtn:<span style="color: #000000;">WinStyle</span><span style="color: #000000;... |
ButtonBmp TABSTOP | [quote="nageswaragunupudi":1qs3g93u][code=fw:1qs3g93u]<div class="fw" id="{CB}" style="font-family: monospace;">? oBtn:<span style="color: #000000;">WinStyle</span><span style="color: #000000;">(</span> WS_TABSTOP <span style="color: #000000;">)</span> --> lActive<br />oBtn:<span style="color: #000000;">WinStyl... |
ButtonBmp TABSTOP | wartiaga, explique em português o que você realmente quer fazer no segundo botão, você quer ligar/desligar depois de uma ação do programa(ACTION)? é isso? Qual a razão de ligar/desligar o TABSTOP de um botão? Sinceramente não entendi qual o objetivo disto!
SDS,
Regards, saludos. |
ButtonBmp TABSTOP | Veja como eu façco em COMPRAS.PRG para o módulo de COMPRAS() saber o que fazer com o mesmo Botão:
[code=fw:1l2ise0j]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #B900B9;">//-> ESTA EM C:\GERAL GERAL.EXE - HENNING LEGAL. GOSTEI</span><br /> ... |
ButtonBmp TABSTOP | [quote="karinha":3rnps9lz]wartiaga, explique em português o que você realmente quer fazer no segundo botão, você quer ligar/desligar depois de uma ação do programa(ACTION)? é isso? Qual a razão de ligar/desligar o TABSTOP de um botão? Sinceramente não entendi qual o objetivo disto!
SDS,
Regards, saludos.[/quote:3rnp... |
ButtonBmp TABSTOP | [quote:3uxh89n3]Tenho 2 opções no meu sistema que utiliza essa mesma dialog.[/quote:3uxh89n3]
LOCAL DeOndeVem
Dispara do MENU com DeOndeVem e controla na função.
Como você parte(DeOndeVem) do Menu?
[code=fw:3uxh89n3]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">... |
ButtonBmp TABSTOP | E posso controlar qualquer controle(ID) do diálogo, disparar para a função que eu quiser; Ligar/Desligar qualquer controle(ID), etc.
[code=fw:3unieh3i]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">FUNCTION</span> COMPRAS<span style="color: #000000;">(</span> DeOndeV... |
ButtonBmp TABSTOP | [quote="karinha":2kcg4pdx][quote:2kcg4pdx]Tenho 2 opções no meu sistema que utiliza essa mesma dialog.[/quote:2kcg4pdx]
LOCAL DeOndeVem
Dispara do MENU com DeOndeVem e controla na função.
Como você parte(DeOndeVem) do Menu?
[code=fw:2kcg4pdx]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <spa... |
ButtonBmp TABSTOP | Quando PARTIR do MENU com a OPCAO, no ON INIT do DIALOGO, use o XFOCUS() e ponha o FOCO no botão que você quiser.
Regards, saludos. |
ButtonBmp TABSTOP | [code=fw:318619pc]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #00C800;">IF</span> lAppend <span style="color: #B900B9;">// SE FOR UMA INCLUSAO DE PROPOSTA, ENTRAR AQUI.</span><br /> <br /> <span style="color: #0000ff;">ACTIVATE</span> <... |
ButtonBmp TABSTOP | [quote="wartiaga":ebhog7hg][quote="nageswaragunupudi":ebhog7hg][code=fw:ebhog7hg]<div class="fw" id="{CB}" style="font-family: monospace;">? oBtn:<span style="color: #000000;">WinStyle</span><span style="color: #000000;">(</span> WS_TABSTOP <span style="color: #000000;">)</span> --> lActive<br />oBtn:<span styl... |
ButtonBmp TABSTOP | [code=fw:2l91fcre]<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;">(</span><span style="color: #000000;">)</span><br... |
ButtonBmp TABSTOP | [quote="nageswaragunupudi":1mlrno2b][quote="wartiaga":1mlrno2b][quote="nageswaragunupudi":1mlrno2b][code=fw:1mlrno2b]<div class="fw" id="{CB}" style="font-family: monospace;">? oBtn:<span style="color: #000000;">WinStyle</span><span style="color: #000000;">(</span> WS_TABSTOP <span style="color: #000000;">)</sp... |
ButtonBmp TABSTOP | I tested with a sample posted earlier in this thread it is working.
If it is not working in another program, please post your code which is not working for you along with your rc file. |
ButtonBmp and 2007 look | Antonio,
When we will have? |
ButtonBmp and 2007 look | Take TSBUTTON an you have it.
Regards,
Otto |
ButtonBmp and 2007 look | Otto,
Thanks, but I would exactly like to continue using buttonbmp. |
ButtonBmp and 2007 look | Vilian,
We are going to provide the Office 2007 look for the buttons probably for next FWH build (8.05) |
ButtonBmp and 2007 look | <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
<!-- s:x --><img src="{SMILIES_PATH}/icon_mad.gif" alt=":x" title="Mad" /><!-- s:x --> <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: --> <!-- s:?: --><img src="{SMILIES_PATH}/icon... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.