topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
busqueda en xbrowse | ... |
busqueda en xbrowse incremental en red | Estoy implementando la busqueda incremental en una base de datos de clientes que tiene un grandor de 1.5 Mgb, en la máquina principal funciona correctamente pero en las clientes demora bastante casi colgando el programa.
[code=fw:3n6qlxyz]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="... |
busqueda en xbrowse incremental en red | Luis,
en ambiente de red o internet, incluso con dbfs, lo optimo no es hacer ese tipo de busqueda, xq imagina q tengas 10.000 clientes y buscas secuencialmente pues palmaria todo, yo lo hacia asi hasta que migre a mysql, a mi entender y lo he implementado asi con mysql, es preguntar en un get q quiere buscar y filtrar... |
busqueda en xbrowse incremental en red | Gracias Ariel por contestar, esa misma base de datos usandola con wbrowse de hernan usando dbfseek es rapidísima en la red y pensé que sería lo mismo con xbrowse, ignoraba esa incapacidad del xbrowse.
Lamentablemente no puedo pasar el programa a mariadb por ahora.
Luis |
busqueda incremental | Hola nuevamente, tengo la siguiente rutina:
[code=fw:1cdfldib]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">function</span> busnap<span style="color: #000000;">(</span>olbx,oQry,nclia,oMysql,cConsulta,larchivo<span style="color: #000000;">)</span><br /><br /><span styl... |
busqueda incremental | Prueba asi:
[code=fw:1y1l7x3g]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />..<br />..<br />.<br />cDSeek := <span style="color: #ff0000;">""</span><br />..<br />.<br /><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">LISTBOX</span> olbm FIELDS oQry:<span style="color:... |
busqueda incremental | Gracias Willy la función que envié funciona correctamente cuando trato con el teclado alfabético, estas es la imagen de lo que hace
[img:qjlpra57]http://www.4shared.com/photo/cigHFKhw/muestra.html[/img:qjlpra57]
si no se visualiza:
<!-- m --><a class="postlink" href="http://www.4shared.com/photo/cigHF... |
busqueda incremental | Hice una prueba en vez de utilizar una tabla mysql cree una base de datos dbf y funciona correctamente utilizando la teclas teclas numéricas, a que se debe la diferencias de comportamiento??
<!-- m --><a class="postlink" href="http://www.4shared.com/photo/oaV-K1EN/muestra3.html">http://www.4shared.com/photo/oaV-K1EN/m... |
busqueda incremental | Bueno le encontré la sguiente solución, que seguramente no es la óptima, pero funciona perfectamente
[code=fw:1r2t822t]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">function</span> bprodu<span style="color: #000000;">(</span>olbx,oQdetalle,oMysql<span style="color: #00000... |
busqueda incremental | Luis, yo lo hago asi:
oQry := oApp:oServer:Query("SELECT * FROM " + cTmp + " ORDER BY nombre")
DEFINE DIALOG oDlg SIZE 440,540 PIXEL FONT oFont TITLE "Terapeutas Disponibles de las " + oView:ConvertTime( nTimeFrom - 1 ) + " a las " + oView:ConvertTime( nTimeTo + 1 )
oDlg:lHelpIcon := .f.
@ 1... |
busqueda incremental | Gracias Paco voy a adaptarla a mi programa, ya que se ve mucho mejor que la que hice para salir del paso.
Luis |
busqueda incremental con Xbrowse | Estimados. consulto:
mencione antes un error que tenia con Xbrowse con una busqueda incremental, pero me percato que si la aplicación la proceso y compilo con:
FWH 8.12 y BCC 55, me trabajando usando cualquier columna del browse que tenga un index, pero si compilo con FWH 13.2 y BCC 582, solo me hace la busqueda con l... |
busqueda incremental con Xbrowse | como ejemplo, prueba asi
[code=fw:pps9mecb]<div class="fw" id="{CB}" style="font-family: monospace;"><br />..<br />..<br />..<br /><br /><span style="color: #0000ff;">SELECT</span> SY03 ; dbGotop<span style="color: ... |
busqueda incremental con tdolphin | Gente :
Estoy pasando de DBF a SQL para ello trabajo con la clase TDOLPHIN de Daniel pero no logro que me muestre solamente las filas que coinicida con lo tipeado
la coincidencia puede ser al comienzo , mitad o final del apellido
Este es mi code
[code=fw:15zsi7hc]<div class="fw" id="{CB}" style="font-family: monospac... |
busqueda incremental con tdolphin | Me equivoque la busqueda es por el primer nombre
Sorry |
busqueda incremental con tdolphin | Probe con ADO y si me trabaja la busqueda incremental pero con Tdolphin no funciona
que le falta a mi codigo? |
busqueda incremental en una arreglo bidiomensional | Hola Amigos...
Preciso hacer una busqueda incremental en un arreglo bidimensional, utilizo la clase twbrowse.. un hilo please..
Salu2
Willi |
busqueda incremental en una arreglo bidiomensional | Willi; con TArray lo podés hacer, o ver como lo hace. Te la envio? |
busqueda incremental en una arreglo bidiomensional | sorry; no es en TArray donde lo vas a encontrar. wBrowse de Checcarelli tiene búsqueda incremental aunque no estoy seguro si está implementado también para arrays |
busqueda incremental en una arreglo bidiomensional | Hola Mario.
El TWBrowse tiene solo la busqueda incremental, para dbfs,, no para arrays, al menos lo busque y no encontre el tema...
Salu2.
WIlli |
busqueda incremental y scope | Que tal a Todos:
Necesito lo siguente: En el campo "cuenta" del catalogo tengo 999-99-99-99-999-9999, quiero que cada vez que complete un nivel haga un scope en la tabla CatCtas para mostrar en un listbox solo las cuentas que van quedando disponibles .
Se me ocurre que puede ser con un treeview solo que nunca los he... |
busqueda incremental y scope | Miguel,
Revisa este ejemplo:
[code:3k89cph2]
#include "FiveWin.ch"
REQUEST DBFCDX
* Incremental Search with a get object Example
//-----------------------------------------------------------------------//
FUNCTION Main()
LOCAL oWnd, oBrw
LOCAL cSearch, oSearch
USE Customer VIA "DBFCDX"
INDEX ... |
busqueda incremental y scope | marca tget bPostkey message not found[/img] |
busqueda incremental y scope | Miguel,
Necesitas usar una versión más reciente de la clase TGet de FWH
Que versión de FWH estás usando ? |
busqueda lenta | Hola. Tengo un programa que efectura una busqueda de la siguiente manera:
tengo un listbox con un keyseek, donde puedo buscar a medida que escribo, y debajo un get para ingresar un texto, y un boton que dice "FILTRAR"; si pongo en el get, "tornillo", por ejemplo, hago un RAT de tornillo sobre la base del listbox, y mu... |
busqueda lenta | você faz atualização de indices regularmente no sistema?
Poste o código da sua busca, e já posso adiantar que busca incremental não é uma boa idéia.... |
busqueda lenta | Mantengo un indice que actualizo regularmente. Te copio la funcion. Gracias...!!!
funcion de busqueda:
// -----------------------------------------------------------------------
FUNCTION Buscaparam(xtipo, xvalor, xorden, xvta, xcododes, XUSERID)
local olbx, odlg
local obt1, obt2, obt3, xrta
local xok
LOCAL oString ... |
busqueda lenta | Prueba con algo como esto (indices temporales)
(Vas a tener que analizarlo un poquito, y no envío el recurso, pero te debe servir de algo
[code:1w2fv2rd]memvar cOrden,cIndice,cIndkey,lUnique
*********************************************************************************************************************
functio... |
busqueda lenta | Hecha un vistazo a estos post. Talvez te sirvan de algo.
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=12307">viewtopic.php?f=6&t=12307</a><!-- l -->
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=9987">viewtopic.php?f=6... |
busqueda lenta | Vi este POST, y me interesa, pero no entiendo bien el funcionamiento; ¿alguien tiene algun ejemplo? como para cargar un dbf en memoria y filtrar con at() todos los registros que contengan cierto texto en un campo. Gracias.
La función At() es extremadamente rápida ya que practicamente esta implementada al 100% en el p... |
busqueda lenta | diegopolverelli,
el problema te lo origina claramente el SET FILTER que son claramente muy lentos y más todavía si tu aplicativo funciona en RED. Para ello, una solución muy eficaz y ultrarápida son la utilización de indices CDX (no NTX) y la sustitución de los SET FILTER TO por ORDSCOPE. Hacen búsquedas y filtros de ... |
busqueda tdophin | Estimados, favor de orientar, estoy con Mysql y tdolphin, y quiero hacer que me buque y me filtre un valor en el campo cCampo, en la query cTab_Fam, ordenado por campo nom_fam, en el browse oBrw
// tab_fam es la tabla llamada de forma directa.
// nom_fam es el campo que ordena.
FUNCTION FiltrarFamilia(oBrw,cCampo,cTa... |
busqueda tdophin | Estas creado otra instancia de la query, la estas creando de nuevo.
Lo que tenes que hacer es actuaizar la que ya tenes
[code=fw:1s3x93ts]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> FiltrarFamilia<span style="color: #000000;">(</span>oBrw,cCampo,cTab_Fam<... |
busqueda tdophin | qual a diferença entre:
oBrw:refresh(.t.)
ou
oBrw:refresh()
?? |
busqueda tdophin | Estimados, funciono perfecto, la verdad no es tema de programación, si no que es tema de saber bien lo que entrega sql.
muchas gracias.. |
busqueda tdophin | Rearma o no todo el browse
[code=fw:3tbxy5ym]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">METHOD</span> <span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span> lComplete <span style="color: #000000;">)</span> <span style="color: #00C800... |
button | Hi,
How can I make a button with rounded corners ? |
button | [code=fw:3mgggj4i]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #00C800;">local</span> oDlg, oBtn<br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">SIZE</span> <span style="color: #00... |
button | Thanks.
However, the rounded corners do not look very good. Pixel steps are visible to the naked eye |
button | Hi, My be Rbtn is that you're looking for.
Regards. |
button | Hi, D.Fernandez
Can I go into more detail ? |
button | Hola,
Puedes verlo en testrbtn en fwh\samples
saludos |
button ...help | I must put an button on button bar but I must move this button at the left of the buttonbar as help
but the command
DEFINE BUTTON OF ::oBar ... HELP
NOT RUN !!!!
any idea? |
button ...help | [quote="Silvio":26duj9cc]I must put an button on button bar but I must move this button at the left of the buttonbar as help[/quote:26duj9cc]Hi Silvio:
If what you want is to place a button at anyplace on a buttonbar, I thing you should better use:
[code:26duj9cc]@y,x BTNBMP oBtn OF oBar ....[/code:26d... |
button Bar with two rows of buttons | Hi everyone;
On a dialog I'd like to place two rows of buttons. Here is how it looks now:
[img:39r6g2it]http://ssfl.dynalias.com/temp_files/Transcription_screen_shot.png[/img:39r6g2it]
But I need more buttons. I'm thinking a 2nd row would work. Is it possible?
Here my code:
[code=fw:39r6g2it]<div... |
button Bar with two rows of buttons | Yes, it is:
[code=fw:zr9oan0x]<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: #00000... |
button Bar with two rows of buttons | Yes, excellent.
Reinaldo. |
button bar | I need to insert on a buttonbat these control s
two datepick
one get
one radiomenu with two option
e two button
it is possible ? |
button bar | Hello Silvio,
I paint a buttonbar by myself, to do this.
There it is possible, to work with different colors.
I don't know, if You like this solution.
The Controls, You asked for ( 2 datapicker, Radio, Get and 2 Buttons ) :
[img:3h4tel7l]http://www.pflegeplus.com/pictures/bartest5.jpg[/img:3h4tel7l]
... |
button bar | I inser two date pick
when I inser radio it crash why ? |
button bar | Silvio,
the solution with a < normal > Buttonbar ( Radio's are not transparent )
[img:kp7o6fmp]http://www.pflegeplus.com/pictures/tooltip5.jpg[/img:kp7o6fmp]
If You define the Color with these values, the Radios will have the background from the Buttonbar
@ 1.0, 50 RADIO oRadMenu VAR nValue ITEMS "On... |
button bar | [img:285jx46o]http://img70.imageshack.us/img70/2006/baara.png[/img:285jx46o]
I TRY IT BUT
THE SAYS ARE NOT TRASPARENT !!!
THE RADIO CONTROL IS NOT TRASPARENT !!!
HAVE YOU AN IDEA ?
CAN i CREATE RADIO CONTROL ON HORIZONTAL LINE ?
THIS IS THE CODE
[code=fw:285jx46o]<div class="fw" id="{CB}" style="fo... |
button bar | Silvio,
some adjustments ( tested with screen resolution 1024 x 768 ) :
Because of the Bar-Gradient, try to stay with Your Controls in the vertical center of the Buttonbar.
Keep the SAY-Hight as small as possible.
If You need more space, it has to be adjusted with the Bar-Height.
But maybe Antonio or somebody else kno... |
button bar | can I inser a radio in to the same line ? on Horizontal and not on vertical line ?
sample: [@] singola prenotazione [@] multiprenotazione
I saw VB and it can insert also an image on the top part of this radio
sample :
IMAGE IMAGE
[] radio control [] radio control
How Create i... |
button bar | uwe the color snot run ok |
button bar | Silvio,
A way to get any Color-Values :
( Do You still remember Pixelformer for Alpha-Blended-BMP's ? )
[img:20fqfrlv]http://www.pflegeplus.com/pictures/colorpicker.jpg[/img:20fqfrlv]
1. Make a Screenshot from the Picture-part, You need a Color.
2. Open the File-Menue of [color=#FF0000:20fqfrlv]Pixe... |
button bar | Silvio,
A much better Solution :
[color=#FF0000:2anydv1r]Colorpicker[/color:2anydv1r] a very good Application and easy to use. Includes Language-Support.
Just set the Mouse-Pointer on Sreen to the Color You need.
The Area of the Mouse-Pointer is shown in a little Window inside of the program.
Nothing to install or t... |
button bmp con jpg | saludos, se pueden hacer buttonbmp con archivos jpg o desde recurso, gracias |
button bmp con jpg | @ 01,001 BITMAP FILE "BITMAPS\ALERT.PNG" SIZE 65,140 ADJUST PIXEL OF oDlg NOBORDER |
button bmp con jpg | hola, no eso es para un bitmap, necesito en un btnbmp, osea asi
@ 1,,5 BTNBMP apBtn[u3] FILENAME "direccion.bmp" pixel
solo sirve con bmp, no se puede con jpg o png
habra alguna forma? los bitmap pesan mucho...
agradecido |
button bmp con jpg | Esto funciona perfectamente ( cuál es tu version de FW )
Te ajusta el jpg a la altura del btnbmp
[code=fw:29vw0z02]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> @ <span style="color: #000000;">120</span>,<span style="color: #000000;">30</span> <span style="color: #0000ff;">BTNBMP</span> oBtn... |
button bmp con jpg | si la mia es muy vieja, creo debere actualizar entonces |
button bmp con jpg | [quote="cnavarro":1hm80rqk]Esto funciona perfectamente ( cuál es tu version de FW )
Te ajusta el jpg a la altura del btnbmp
[code=fw:1hm80rqk]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> @ <span style="color: #000000;">120</span>,<span style="color: #000000;">30</span> <span style="color: #... |
button bmp con jpg | No sé si lo he usado en BTNBMP, pero si he usado PNGs y JPGs en RCs sin problemas, y ahí debe funcionar igual
Pruebalo definiendolo como 10
[quote:2eil0wu1]
16func1 10 "./fiveres/16func1.png"
[/quote:2eil0wu1] |
button caption bug | We can not change anymore the button caption "on the fly" as in the sample below. The caption does not change.
Using sbutton instead of button will display the correct caption while clicking.
Richard
FUNCTION MAIN()
LOCAL oDlg,OBTN
LOCAL LTEST := .T.
DEFINE DIALOG oDlg TITLE "Button test"
@ 01,01 BUTTON OBTN PROMPT... |
button caption bug | This is a working sample:
[code:2svzly3v]#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBtn
DEFINE DIALOG oDlg
@ 1, 1 BUTTON oBtn PROMPT "Change";
ACTION oBtn:SetText( "Changed" )
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL[/code:2svzly3v]
EMG |
button caption bug | [quote="EnricoMaria":y8lfypua]This is a working sample:
[code:y8lfypua]#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBtn
DEFINE DIALOG oDlg
@ 1, 1 BUTTON oBtn PROMPT "Change";
ACTION oBtn:SetText( "Changed" )
ACTIVATE DIALOG oDlg;
CENTER
R... |
button color | Dear Antonio,
Can I assign color for button?
Best regards,
Dutch |
button color | Dutch,
You need to use a TBtnBmp instead of a TButton. |
button color | Dear Antonio,
Does TBtnBmp support color clause?
Best regards,
Dutch |
button color | [code:21hu0k2s]oBtnBmp:SetColor( nClrText, nClrPane )
[/code:21hu0k2s]
Best Regads |
button color | Thanks Biel,
But TBTNBMP is not support multiline and TBUTTON is not support color clause.
Best regards,
Dutch |
button color | Dutch,
You may place the text on a bitmap (modify the bitmap) and use it from TBtnBmp |
button color | Dear Antonio,
I use for our Point Of Sale and BUTTON are menu item as following picture. The menu can change by customer
[img:33w9e8ht]http://www.easyfo.com/pda-pos.JPG[/img:33w9e8ht]
Best regards,
Dutch |
button color | Dutch,
You may have to modify Class TBtnBmp to display multiple text lines. |
button color | I'll try. Thanks,
Best regards,
Dutch |
button con 2 renglones | Buenas noches,
Estoy usando un button así:
[code=fw:2c6732uq]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">Redefine</span> <span style="color: #0000ff;">Button</span> oHoy <span style="color: #0000ff;">Id</span> <span style="color: #000000;">4001</span> <span style="color: #0... |
button con 2 renglones | Agregarle al style BS_MULTILINE y no poner CRLF, pues parte las líneas automáticamente.
En el rc hay que escribir:
#define BS_MULTILINE 0x2000
Saludos cordiales. |
button con 2 renglones | Cesar,
Precisamente lo que quiero es que la línea se parta saliento el texto del botón en dos renglones como se ve en la primer figura. Sin usar SkinButtons() sale como quiero yo pero en la segunda imagen se puede ver como sale (mal) cuando uso el SkinButtons() y eso es lo que quiero solucionar.
No uso RC, uso una DL... |
button con 2 renglones | Hola:
Tambien estoy interesado en esta solucion, si declaro el boton "multilinea" en el recurso
la doble linea la da el tamaño del boton y no es lo que necesito. Necesito que las 2 lineas del
prompt las decida yo.
Muchas gracias y espero tenga solucion.
Saludos
Ruben Fernandez |
button con 2 renglones | Listo... Para separar las líneas usar chr(10) en vez de CRLF (el cual es chr(13)+chr(10))
Si no usas rc:
include "Fivewin.ch"
#define BS_MULTILINE 0x2000
#define GWL_STYLE -16
Function Test()
Local oDlg, oBtn
DEFINE DIALOG oDlg RESNAME "DIALOG_1"
REDEFINE BUTTON oBtn ID 10 OF oDlg PROMPT "Esto"+chr(10)... |
button con image PNG | Estimados
Se puede insertar a un boton con imagen PNG
lo estoy haciendo asi pero no resulta:-(
[code=fw:bqrskl1n]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #0000ff;">REDEFINE</span> <span style="color: #0000ff;">BTNBMP</span> <span style="color: #0000ff;">ID</span> <span style="c... |
button con image PNG | Hola Patricio
no se puede hacer directo, solo soporta bmp
lo que puedes hacer es cargar la imagen con la clase TImage y despues asignar el handle de la imagen al boton, es algo complicado y tedioso pero funciona...
si no quieres usar la clase TImage, podrias crear tu propia rutina de lectura de png usando las funcio... |
button con image PNG | Muchas gracias Daniel
voy a intentar hacer lo que suguieres |
button con temas xp | Quiero implemetar este tipo de botones y he visto el prg \samples\testbubm.prg. Miré el rc y está el archivo de cabecera winapi.ch. Modifiqué los button por buttonbmp. Incluí el archivo de cabecera en el rc que poseo y al compilar me tira una cantidad de warnings y algún error. Si no incluyo este archivo los botones s... |
button con temas xp | Saludos,
En tu RC, lo editas (con el bloc de notas de Windows, por ejemplo) y escribe al final del fichero el siguiente comando:
1 24 Windowsxp.Manifest
lo guardas y listo.
Por supuesto deberás tener el archivo Windowsxp.Manifest en la carpeta donde compiles.
Compilas y tu EXE adquirirá aspecto Wxp.
Saludos.LORENZ... |
button con temas xp | Muchas gracias Lorenzo. Funcionó perfectamente |
button move on the dialog | I made a dialog with scroll (thanks to Emg) because my tpanelscroll not run also.Now I have a problemOn my dialog there are :a big button on the top ten small buttons down the big buttonmoving the scrollbar i want move the buttons but the button overwrite on the big buttonHow I can make to hide the button when they ar... |
button move on the dialog | Silvio,this should work: (in the function SPOSTACONTROLLI)[code:29ywzv52] FOR i = 2 TO LEN( oDlg:aControls )
oDlg:aControls[ i ]:Move( oDlg:aControls[ i ]:nTop + nStep, oDlg:aControls[ i ]:nLeft )
// Change from here
if oDlg:a... |
button move on the dialog | goooooooood resolved !!!! |
button on buttonbar | [b:y40whdll]the button of buttonbar is disabled but not is on different color [/b:y40whdll]
[img:y40whdll]https://i.postimg.cc/Hxp1Fjjc/bu1.png[/img:y40whdll]
I make oBtnB:Disable() it is disabled but not change colors
I tried and working with DEFINE BUTTONBAR ::oBar OF ::oWinMain _3D 2015 |
button on buttonbar | [code=fw:2lzyrdyb]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \samples\ADORICK.PRG</span><br /><br /><span style="color: #B900B9;">// Incremental Search</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"FiveWin.ch"</span><... |
button on buttonbar | [quote="karinha":1u7tgu5f][code=fw:1u7tgu5f]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// \samples\ADORICK.PRG</span><br /><br /><span style="color: #B900B9;">// Incremental Search</span><br /><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0... |
button on buttonbar | Please try this small test
[code=fw:1efqz2dj]<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... |
button on buttonbar | Teste completo con .BMP, .JPG y .PNG - Download:
[url:35ifdbyh]https://mega.nz/file/gN9ECbrQ#C3U5SX0KpXvVIdi6uXMlHLUiIGQ3jv3prlY4MjLz8ok[/url:35ifdbyh]
Silvio, tienes razón con .BMP, el comando Disable() no funciona. Con .JPG y .PNG funciona bien. No sé por qué, tal vez el señor Nages pueda explicarlo.
Silvi... |
button on buttonbar | me respondo a mi mismo. Sí, funciona con BTNBMP.
I answer myself. Yes it works with BTNBMP.
[code=fw:f7br4pgt]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">// C:\BLAB\BLAB.PRG - By Silvio Falconi.</span><br /><br /><span style="color: #00D7D7;">#include</span> <span sty... |
button on ribbonbar | If I use a Png file ( original 128 size) and I wish insert a button on ribbonbar the image is not resize as I wish
@ 5,5 ADD BUTTON oBtnselected ;
SIZE 40, 40 ;
BITMAP "bitmaps\png\ombrellone.png" ;
... |
button(btnbmp) of buttonbar disable caption color fixed | METHOD Paint() CLASS TBtnBmp
...
if ! Empty( ::cCaption )
nClr = If( IsWindowEnabled( ::hWnd ), ::nClrText, CLR_HGRAY )
SetTextColor( ::hDC, nClr ) // add the line ,show disable button ccaption/text color
nTop = 2 * ( ::nHeight / 3 ) + If( ::lPressed, 1, 0 ) + If( At( CRLF, ::cCaption ) ... |
button(btnbmp) of buttonbar disable caption color fixed | Shuming,
Thanks! <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
buttonBmp | alguien tiene alguna idea porque al tratar de compilar el button.prg que modifico Rossine me truena aqui:
::nStyle = nOR( WS_CHILD, WS_VISIBLE, WS_TABSTOP,;
If( lDefault, BS_DEFPUSHBUTTON, 0 ),;
If( cPosText == "TEXTTOP", BS_TOP, 0 ),;
If( cPosText ==... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.