topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
---|---|
2 preguntas 2 | Antonio, primero gracias por la atención tan rápida y completa.
Probé la librerías que me enviaste, pero sigue dando el mismo error.
Te adjunto el .bat de compilación por si me falta o sobra alguna librería. Este .bat funcionaba perfecto, pero tene en cuenta que la ultima versión que tenia era creo de enero del 2012
[code=fw:29cvh0bo]<div class="fw" id="{CB}" style="font-family: monospace;">@ECHO OFF<br />CLS<br />ECHO +----------------------------------------------------------------------------+<br />ECHO | FWH <span style="color: #000000;">64</span> <span style="color: #00C800;">for</span> Harbour <span style="color: #000000;">11.03</span> <span style="color: #000000;">(</span>MSVC++<span style="color: #000000;">)</span> Mar. <span style="color: #000000;">2011</span> Harbour development <span style="color: #0000ff;">power</span> |-<br />ECHO | <span style="color: #000000;">(</span>c<span style="color: #000000;">)</span> FiveTech, <span style="color: #000000;">1993</span><span style="color: #000000;">-2011</span> <span style="color: #00C800;">for</span> Microsoft Windows 9X/NT/200X/ME/XP/Vista/<span style="color: #000000;">7</span> |-<br />ECHO +----------------------------------------------------------------------------+-<br />ECHO -----------------------------------------------------------------------------<br /><br /><span style="color: #00C800;">if</span> A%<span style="color: #000000;">1</span> == A GOTO :<span style="color: #000000;">SINTAX</span><br /><span style="color: #00C800;">if</span> NOT EXIST %<span style="color: #000000;">1</span>.prg GOTO :<span style="color: #000000;">NOEXIST</span><br /><br /><span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%FWDIR%"</span> == <span style="color: #ff0000;">""</span> set FWDIR=F:\wFH64\FWH64<br /><span style="color: #00C800;">if</span> <span style="color: #ff0000;">"%HBDIR%"</span> == <span style="color: #ff0000;">""</span> set HBDIR=F:\wFH64\Harbour64<br /><br />ECHO Compiling...<br /><br />set hdir=%HBDIR%<br />set hdirl=%hdir%\lib\vc64<br />set vcdir=F:\wFH64\vc64<br />set include=%vcdir%\include;%hdir%\include;%include%<br />set lib=%vcdir%\lib;%hdir%\lib;%lib%<br /><br />%hdir%\bin\harbour %<span style="color: #000000;">1</span> /n /i%fwdir%\include;%hdir%\include /w /p %<span style="color: #000000;">2</span> %<span style="color: #000000;">3</span> <span style="color: #000000;">2</span>>comp.log<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO COMPILEERROR<br />@type comp.log<br /><br />ECHO _______________________________________________________________________________<br /><br />%vcdir%\bin\cl -TP -W3 -c %<span style="color: #000000;">1</span>.c<br />:<span style="color: #000000;">ENDCOMPILE</span><br /><br /><span style="color: #00C800;">IF</span> EXIST %<span style="color: #000000;">1</span>.rc %vcdir%\bin\rc -r -D__64__ %<span style="color: #000000;">1</span><br /><br />echo %<span style="color: #000000;">1</span>.obj > msvc.tmp<br /><br />echo %fwdir%\lib\FiveH64.lib %fwdir%\lib\FiveHC64.lib >> msvc.tmp<br /><br />echo %hdirl%\hbrtl.lib >> msvc.tmp<br />echo %hdirl%\hbvm.lib >> msvc.tmp<br />echo %hdirl%\gtgui.lib >> msvc.tmp<br />echo %hdirl%\hblang.lib >> msvc.tmp<br />echo %hdirl%\hbmacro.lib >> msvc.tmp<br />echo %hdirl%\hbrdd.lib >> msvc.tmp<br />echo %hdirl%\rddntx.lib >> msvc.tmp<br />echo %hdirl%\rddcdx.lib >> msvc.tmp<br />echo %hdirl%\rddfpt.lib >> msvc.tmp<br />echo %hdirl%\hbsix.lib >> msvc.tmp<br />echo %hdirl%\hbdebug.lib >> msvc.tmp<br />echo %hdirl%\hbcommon.lib >> msvc.tmp<br />echo %hdirl%\hbpp.lib >> msvc.tmp<br />echo %hdirl%\hbcpage.lib >> msvc.tmp<br />echo %hdirl%\hbwin.lib >> msvc.tmp<br />echo %hdirl%\hbcplr.lib >> msvc.tmp<br />echo %hdirl%\hbpcre.lib >> msvc.tmp<br />echo %hdirl%\hbct.lib >> msvc.tmp<br />echo %hdirl%\hbziparc.lib >> msvc.tmp<br />echo %hdirl%\hbmzip.lib >> msvc.tmp<br />echo %hdirl%\hbzlib.lib >> msvc.tmp<br />echo %hdirl%\minizip.lib >> msvc.tmp<br />echo %hdirl%\xhb.lib >> msvc.tmp<br />echo %hdirl%\png.lib >> msvc.tmp<br /><br />rem Uncomment these two lines <span style="color: #0000ff;">to</span> use Advantage RDD<br />rem echo %hdirl%\rddads.lib >> msvc.tmp<br />rem echo %hdirl%\ace32.lib >> msvc.tmp<br /><br />echo %vcdir%\lib\kernel32.lib >> msvc.tmp<br />echo %vcdir%\lib\user32.lib >> msvc.tmp<br />echo %vcdir%\lib\gdi32.lib >> msvc.tmp<br />echo %vcdir%\lib\winspool.lib >> msvc.tmp<br />echo %vcdir%\lib\comctl32.lib >> msvc.tmp<br />echo %vcdir%\lib\comdlg32.lib >> msvc.tmp<br />echo %vcdir%\lib\advapi32.lib >> msvc.tmp<br />echo %vcdir%\lib\shell32.lib >> msvc.tmp<br />echo %vcdir%\lib\ole32.lib >> msvc.tmp<br />echo %vcdir%\lib\oleaut32.lib >> msvc.tmp<br />echo %vcdir%\lib\uuid.lib >> msvc.tmp<br />echo %vcdir%\lib\odbc32.lib >> msvc.tmp<br />echo %vcdir%\lib\odbccp32.lib >> msvc.tmp<br />echo %vcdir%\lib\iphlpapi.lib >> msvc.tmp<br />echo %vcdir%\lib\mpr.lib >> msvc.tmp<br />echo %vcdir%\lib\version.lib >> msvc.tmp<br />echo %vcdir%\lib\wsock32.lib >> msvc.tmp<br />echo %vcdir%\lib\msimg32.lib >> msvc.tmp<br />echo %vcdir%\lib\oledlg.lib >> msvc.tmp<br />echo %vcdir%\lib\PsApi.lib >> msvc.tmp<br /><br /><span style="color: #00C800;">IF</span> EXIST %<span style="color: #000000;">1</span>.res echo %<span style="color: #000000;">1</span>.res >> msvc.tmp<br /><br />ECHO _______________________________________________________________________________<br /><br />%vcdir%\bin\link @msvc.tmp /nologo /subsystem:<span style="color: #000000;">windows</span> /force:<span style="color: #000000;">multiple</span> /NODEFAULTLIB:<span style="color: #000000;">libc</span><br /><br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO LINKERROR<br />ECHO +----------------------------------------------------------------------------+<br />ECHO | |<br />ECHO | Aplicacion %<span style="color: #000000;">1</span> compilada satisfactoriamente |<br />ECHO | |<br />ECHO +----------------------------------------------------------------------------+<br />::%<span style="color: #000000;">1</span><br />@del %<span style="color: #000000;">1</span>.obj<br />@del %<span style="color: #000000;">1</span>.ppo<br />@del %<span style="color: #000000;">1</span>.c<br />@del msvc.tmp<br />@del comp.log<br /><br />mshta vbscript&#<span style="color: #000000;">058</span>;CreateObject<span style="color: #000000;">(</span><span style="color: #ff0000;">"SAPI.SpVoice"</span><span style="color: #000000;">)</span>.Speak<span style="color: #000000;">(</span><span style="color: #ff0000;">"Ok Application"</span><span style="color: #000000;">)</span><span style="color: #000000;">(</span><span style="color: #0000ff;">Window</span>.close<span style="color: #000000;">)</span><br /><br />rem mshta m = vbscript&#<span style="color: #000000;">058</span>;CreateObject<span style="color: #000000;">(</span><span style="color: #ff0000;">"SAPI.SpVoice"</span><span style="color: #000000;">)</span>.Voice m.GetVoices<span style="color: #000000;">(</span><span style="color: #ff0000;">"gender=male;language=34"</span> <span style="color: #000000;">)</span>.Item<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br />rem mshta m.Speak<span style="color: #000000;">(</span><span style="color: #ff0000;">"Ok Application"</span><span style="color: #000000;">)</span><span style="color: #000000;">(</span><span style="color: #0000ff;">Window</span>.close<span style="color: #000000;">)</span><br /><br />GOTO EXIT<br />::<span style="color: #000000;">ECHO</span><br /><br />rem delete temporary files<br />@del %<span style="color: #000000;">1</span>.c<br />@del msvc.tmp<br /><br />:<span style="color: #000000;">COMPILEERROR</span><br />@type comp.log<br />ECHO * Compiling errors *<br />GOTO EXIT<br /><br />:<span style="color: #000000;">LINKERROR</span><br />ECHO * Linking errors *<br />GOTO EXIT<br /><br />:<span style="color: #000000;">SINTAX</span><br />ECHO SYNTAX: <span style="color: #000000;">Build</span> <span style="color: #000000;">[</span>Program<span style="color: #000000;">]</span> <span style="color: #000000;">{</span>-- No especifiques la extensión PRG<br />ECHO <span style="color: #000000;">{</span>-- Don<span style="color: #ff0000;">'t specify .PRG extension<br />GOTO EXIT<br /><br />:NOEXIST<br />ECHO The specified PRG %1 does not exist<br /><br />:EXIT<br /><br />Pause<br /></span></div>[/code:29cvh0bo]
Muchísimas gracias por tu apoyo.
Un gran abrazo. Miguel |
2 preguntas 2 | Miguel Angel,
Estas usando esta versión de Harbour 64 bits ?
[url:14vq6sne]https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=harbour64_vc64_20130710.zip[/url:14vq6sne] |
2 preguntas 2 | Me fijo Antonio, pero es la misma que baje con el FTDN.
Abrazo. |
2 preguntas 2 | No. Son versiones totalmente distintas.
La que baje con el FTDN son del 28/03/2013. Las que vos me preguntas son del 02/07/2013.
De todas maneras sigue repitiéndose el mismo error.
Abrazo. |
2 preguntas 2 | Miguel Angel,
Has comprobado que no tengas alguna otra version de FWH 64 en el ordenador que este enlazándose por error ?
Con las librerias que te he enviado por email y esa versión de Harbour 64 debería funcionar todo correctamente |
2 preguntas 2 | Si Antonio comprobé todo y estaría todo ok.
Voy a seguir mirando haber si encuentro algo.
Te aviso.
Un gran abrazo y gracias.
Miguel |
2 preguntas 2 | Antonio, volví a revisar todos lo patch, y esta todo correcto.
Volví a bajar el FTDN (3ra. revisión), instale y sigue igual.
Sobre la nueva instalación pegue las librerías de FiveWin que me enviaste por correo (que la FiveHC64.lib es distinta) y sigue igual.
Ahora estoy chequeando las librerías de harbour que cargo en bat (por si falta o sobra algo) pero por ahora parece estar bien.
Un abrazo. Miguel |
2 preguntas 2 | Miguel Angel,
El error sigue siendo el mismo ?
[quote:1srl8e76]FiveHC64.lib(RICHEDIT.obj) : error LNK2019: unresolved external symbol hb_extIsNil referenced in function HB_FUN_RELOADAS[/quote:1srl8e76] |
2 preguntas 2 | Si exactamente el mismo. |
2 preguntas 2 | Miguel Angel,
Conectémonos por TeamViewer y asi reviso que pueda estar sucediendo en tu ordenador, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
2 preguntas 2 | Mil disculpas Antonio por no haberte contestado antes, pero justo en estos días tengo todos los procesos mensuales y el lunes si o si tengo que entregar.
Pero la semana que viene, si te parece lo hacemos.
Desde ya muchísimas gracias por tu disposición y sobre todo por tu buena onda. Lo tuyo si es servicio de "PRIMERA" =>))
Un gran abrazo.
Miguel |
2 preguntas 2 | Miguel Angel,
No hay prisa, cuando puedas.
Avisame por email y nos conectamos y lo reviso <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
2 preguntas 2 | Antonio, primero mil disculpas por mi tardanza, pero fueron estas dos ultimas semanas unos días de locos.
Te cuento, este ultimo fin de semana instale FW64 todo en una nueva ruta, y milagro funciono todo de maravillas.
Que pasaba antes ??? Ni la más remota idea, pero evidentemente algo estaba jorobando.
Me parecía extraño, ya que más de, no se, pero 16 o 17 años que uso FiveWin, nunca me había pasado.
Igual mil gracias por tu apoyo, soporte y ayuda.
Ahora te quiero hacer tres consultas.
1 - Revisando el Build64.bat veo que no tiene las llamadas a HBMISC.LIB y a la HBNF.LIB. Yo las saque. Estoy en lo correcto ???
2 - También note que tiene una llamada a la HBPCRE.LIB. La incorpore. Estoy en lo correcto ??? Para que sirve esta librería ???
3 - Por ultimo y no jorobo más, la nueva clase de Daniel TLayout, que si esta en 32bits, cuando calculas que estara disponible para 64Bits ???
Nuevamente mil gracias.
Un gran abrazo.
Miguel
PD. Gracias, Gracias, Gracias |
2 preguntas 2 | Miguel,
Posiblemente se tratase de algún path incorrecto y de ahi los errores. Me alegro de que esté funcionando bien <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
1. Te refieres a que has incluido esas librerias ? No hay problema. Normalmente no incluimos todas, pero no pasa nada por añadirlas.
2. Si no recuerdo mal esa librería es para el soporte de las "expresiones regulares".
3. Se me olvidó incluir la Clase TLayout en FWH 64 <!-- s:-( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":-(" title="Sad" /><!-- s:-( --> Incluida para el próximo build <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> De todas formas, acabo de probarla y esta funcionando bien en 64 bits, por lo que puedes tomar los ejemplos de Daniel, incluirlos junto con la clase en tu aplicación y funcionará bien <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
2 preguntas 2 | Antonio gracias por responder.
A lo que me refería en el punto 1, es que anteriormente estaban incluidas, entonces yo las saque, nadas más que a titulo de comentario.
Sabes donde puedo fijarme para saber que hace cada una de las librerías de (x)Harbour ???
En cuanta a la clase TLayout, no hay drama, espero el próximo build.
Un gran abrazo.
Miguel |
2 preguntas 2 | Miguel,
Para saber que hace cada librería tendrías que revisar el propio make de Harbour/xHarbour y ver que módulos van a cada librería y revisar su código fuente para saber que funciones contienen y que hace cada una de ellas.
En la documentación que se ha ido recopilando hay bastante información, pero no esta organizado por librerías que yo recuerde:
[url:gayo8ylj]http://www.fivetechsoft.com/harbour-docs/harbour-reference-guide.htm[/url:gayo8ylj] |
2 preguntas 2 | Si, justamente empece por ahí, pregunte por la dudas que hubiese alguna información al respecto.
Un gran abrazo.
Miguel |
2 pruguntas 2 | Gente, quisiera saber como puedo hacer lo siguiente
1- Que todos los controles tengan el estilo FLAT. No quiero ninguno con el estilo 3D. Como lo puedo hacer ??? Debo modificar todas las clases ???
2- Hay alguna manera de cargar un theme especifico, al margen del que tenga el Windows XP en ese momento ???
Desde ya mucisimas gracias.
Un abrazo. El Loco =>)) |
2 pruguntas 2 | 1. Tendrías que crear controles definidos por el usuario que reemplazasen a los estandard de Windows, ó modificar el método Paint() de todos ellos para que se dibujasen de otra forma.
2. No que yo sepa <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
2 pruguntas 2 | Gracias Antonio, tendre que ponerme a modificar nomas.....
Pense que podria ser mas facil.
Ahora otra duda Antonio, en el ejemplo FiveDemo que viene en Samples veo que los Get/Browse son FLAT, y por mas que revise el prg como la dll, no pude encontrar el truco.....
Podrias pasarme el secreto ???
Un abrazo. El Loco =>))
[/url] |
2 pruguntas 2 | Revisa samples\FiveDe32.rc. Posiblemente sea el estilo STYLE WS_CHILD de los diálogos. |
2 pruguntas 2 | [quote="Antonio Linares":t7t0hl74]Revisa samples\FiveDe32.rc. Posiblemente sea el estilo STYLE WS_CHILD de los diálogos.[/quote:t7t0hl74]
mmmmmm...... me parece que no. Ya lo probe y creo que tampoco viene por ahi, fijate el otro ejemplo FwRes.prg llama a TestClient() con el dialogo "client" y este tiene el style "Popup" y sale con los get/browse e include un combobox con el estilo flat.
Sigo investigando.
Un abrazo. El Loco =>)) |
2 questions | What are each of the parameters for [b:2n088zmh]ShellExecute[/b:2n088zmh] and with [b:2n088zmh]tImage[/b:2n088zmh] which uses nViewLib16 can you Zoom in and out. |
2 questions | [quote="grumpy":6481jawf]What are each of the parameters for [b:6481jawf]ShellExecute[/b:6481jawf][/quote:6481jawf]
From the MSDN:
[quote:6481jawf]ShellExecute
Performs an operation on a specified file.
HINSTANCE ShellExecute(
HWND hwnd,
LPCTSTR lpOperation,
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory,
INT nShowCmd
);
Parameters
hwnd
[in] Handle to a parent window. This window receives any message boxes that an application produces, such as error reporting.
lpOperation
[in] Pointer to a null-terminated string, referred to in this case as a verb, that specifies the action to be performed. The set of available verbs depends on the particular file or folder. Generally, the actions available from an object's shortcut menu are available verbs. For more information about verbs and their availability, see Object Verbs. See Extending Shortcut Menus for further discussion of shortcut menus. The following verbs are commonly used.
Verb Description
edit Launches an editor and opens the document for editing. If lpFile is not a document file, the function will fail.
explore Explores the folder specified by lpFile.
find Initiates a search starting from the specified directory.
open Opens the file specified by the lpFile parameter. The file can be an executable file, a document file, or a folder.
print Prints the document file specified by lpFile. If lpFile is not a document file, the function will fail.
If you set this parameter to NULL:
For systems prior to Microsoft® Windows® 2000, the default verb is used if it is valid and available in the registry. If not, the "open" verb is used.
For Windows 2000 and later systems, the default verb is used if available. If not, the "open" verb is used. If neither verb is available, the system uses the first verb listed in the registry.
lpFile
[in] Pointer to a null-terminated string that specifies the file or object on which to execute the specified verb. To specify a Shell namespace object, pass the fully-qualified parse name. Note that not all verbs are supported on all objects. For example, not all document types support the "print" verb.
lpParameters
[in] If the lpFile parameter specifies an executable file, lpParameters is a pointer to a null-terminated string that specifies the parameters to be passed to the application. The format of this string is determined by the verb that is to be invoked. If lpFile specifies a document file, lpParameters should be NULL.
lpDirectory
[in] Pointer to a null-terminated string that specifies the default directory.
nShowCmd
[in] Flags that specify how an application is to be displayed when it is opened. If lpFile specifies a document file, the flag is simply passed to the associated application. It is up to the application to decide how to handle it.
SW_HIDE Hides the window and activates another window.
SW_MAXIMIZE Maximizes the specified window.
SW_MINIMIZE Minimizes the specified window and activates the next top-level window in the z-order.
SW_RESTORE Activates and displays the window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when restoring a minimized window.
SW_SHOW Activates the window and displays it in its current size and position.
SW_SHOWDEFAULT Sets the show state based on the SW_ flag specified in the STARTUPINFO structure passed to the CreateProcess function by the program that started the application. An application should call ShowWindow with this flag to set the initial show state of its main window.
SW_SHOWMAXIMIZED Activates the window and displays it as a maximized window.
SW_SHOWMINIMIZED Activates the window and displays it as a minimized window.
SW_SHOWMINNOACTIVE Displays the window as a minimized window. The active window remains active.
SW_SHOWNA Displays the window in its current state. The active window remains active.
SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The active window remains active.
SW_SHOWNORMAL Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position. An application should specify this flag when displaying the window for the first time.
Return Values
Returns a value greater than 32 if successful, or an error value that is less than or equal to 32 otherwise. The following table lists the error values. The return value is cast as an HINSTANCE for backward compatibility with 16-bit Microsoft® Windows® applications. It is not a true HINSTANCE, however. The only thing that can be done with the returned HINSTANCE is to cast it to an integer and compare it with the value 32 or one of the error codes below.
0 The operating system is out of memory or resources.
ERROR_FILE_NOT_FOUND The specified file was not found.
ERROR_PATH_NOT_FOUND The specified path was not found.
ERROR_BAD_FORMAT The .exe file is invalid (non-Win32® .exe or error in .exe image).
SE_ERR_ACCESSDENIED The operating system denied access to the specified file.
SE_ERR_ASSOCINCOMPLETE The file name association is incomplete or invalid.
SE_ERR_DDEBUSY The DDE transaction could not be completed because other DDE transactions were being processed.
SE_ERR_DDEFAIL The DDE transaction failed.
SE_ERR_DDETIMEOUT The DDE transaction could not be completed because the request timed out.
SE_ERR_DLLNOTFOUND The specified dynamic-link library was not found.
SE_ERR_FNF The specified file was not found.
SE_ERR_NOASSOC There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable.
SE_ERR_OOM There was not enough memory to complete the operation.
SE_ERR_PNF The specified path was not found.
SE_ERR_SHARE A sharing violation occurred.
Remarks
This method allows you to execute any commands in a folder's shortcut menu or stored in the registry.
To open a folder, use either of the following calls:
ShellExecute(handle, NULL, path_to_folder, NULL, NULL, SW_SHOWNORMAL);
or
ShellExecute(handle, "open", path_to_folder, NULL, NULL, SW_SHOWNORMAL);
To explore a folder, use:
ShellExecute(handle, "explore", path_to_folder, NULL, NULL, SW_SHOWNORMAL);
To launch the Shell's Find utility for a directory, use:
ShellExecute(handle, "find", path_to_folder, NULL, NULL, 0);
If lpOperation is NULL, the function opens the file specified by lpFile. If lpOperation is "open" or "explore", the function will attempt to open or explore the folder.
To obtain information about the application that is launched as a result of calling ShellExecute, use ShellExecuteEx.
Windows 95/98/Me: ShellExecute is supported by the Microsoft Layer for Unicode. To use this, you must add certain files to your application, as outlined in Microsoft Layer for Unicode on Windows 95/98/Me Systems.
See Also
IShellExecuteHook
Requirements
Windows NT/2000: Requires Windows NT 3.1 or later.
Windows 95/98/Me: Requires Windows 95 or later.
Header: Declared in Shellapi.h.
Import Library: Shell32.lib.[/quote:6481jawf]
[quote="grumpy":6481jawf]and with [b:6481jawf]tImage[/b:6481jawf] which uses nViewLib16 can you Zoom in and out.[/quote:6481jawf]
Try using TImage:Zoom() method.
EMG |
2 questions | Thank you for the detail on Shellexecute. Much Appreciated. As to tImage:Zoom there is no such method in the class?
tBitMap has zoom which tImage is inherited from, so how does one use it.
Cheers
Gerry |
2 questions | Gerry,
You have a working sample in samples\TestBmp1.prg |
2 questions | I am sorry I do not understand I am using tImage not tBitmap I understand tImage is inherited from tBitmap but the command oImage:Zoom(2) has no effect. I am refreshing the image. How can one use a class command that isn't within the class but the class it was inherited from? |
2 questions | Gerry,
You may change BITMAP into IMAGE in samples\TestBmp1.prg and the sample workd ok too.
It properly zooms in and out. You have to call oImage:Refresh() after setting its new zoom value. |
2 questions | Antonio, I am sorry but I dont understand. I am loading the file and displaying it in a REDEFINE IMAGE should I first load it then convert to bitmap somehow and then use REDEFINE BITMAP instead.
Confused.
Gerry
P.S. Thanks for the speedy replies |
2 questions | Also I am loading a JPG file.
Cheers |
2 questions | Please post a reduced and self-contained sample of the problem. Anyway no, you don't have to convert your image to bitmap format.
EMG |
2 questions | A Sample of what? I am loading an image (jpg) using tImage and I want to know if there is any way I can Zoom in or out? I have looked into the class and its inherited from tBitmap but does not have any Zoom methods and I was wondering if there was some other way?
REDEFINE IMAGE oImage1 FILE cImage1 SCROLL ID 100 OF oDlg UPDATE |
2 questions | Gerry,
Class TImage inherits from Class TBitmap which provides a METHOD Zoom( nZoom ), so you can do on a oImage:
oImage:Zoom( 0.5 )
oImage:Refresh() |
2 questions | Thanks Antonio,
I tried that but it didn't seem to work - must have been the size I selected, going down Zooming out showed it was working.
Thanks again. |
2 questions | Gerry,
ok, glad to know it is working <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> |
2 questions | For Information of others using tImage/tBitmap. When you use the REDEFINE method from a Resource you MUST specify in the STyle of the the tImage Control WS_VSCROLL and WS_HSCROLL if you do not and load an image that is smaller than the defined control size (Height and Width) then the control generates the following error. By defining the scrolls this error disappears.
Application
===========
Path and name: C:\GENEAL\ANCESTOR.EXE (16 bits)
Size: 456,768 bytes
Max files handles permited: ( SetHandleCount() ) 121
Time from start: 0 hours 0 mins 4 secs
Error ocurred at: 01/02/2006, 23:27:58
Error description: Error Objects/8 No Object Msg.: UNDEFINED:SETRANGE
Stack Calls
===========
Called from SETRANGE(0)
Called from TIMAGE:SCROLLADJU(0)
Called from (b)TBITMAP(0)
Called from TIMAGE:HANDLEEVEN(0)
Called from SETSCROLLR(0)
Called from (b)TSCROLLBAR(0)
Called from TIMAGE:SCROLLADJU(0)
Called from (b)TBITMAP(0)
Called from TIMAGE:HANDLEEVEN(0)
Called from SETSCROLLR(0)
Called from (b)TSCROLLBAR(0)
Called from TSCROLLBAR:WINNEW(0)
Called from TIMAGE:DEFAULT(0)
Called from (b)TBITMAP(0)
Called from ASEND(0)
Called from TDIALOG:INITIATE(572)
Called from TDIALOG:HANDLEEVEN(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(244)
Called from VUEPICT(2118) |
2 questions | Gerry,
Thanks for your feedback, |
2 questions: @ x y bitmap and draw rectangle | 1 - When I paint a bitmap in a dialog with @ x, y bitmap command it appears into a rectangle. How can I hide this border were the bitmap is painted?
2 - How can I draw a rectangle in a dialog or window? How can I fill it with a color?
I did this:
define pen oPen width 1.5 color CLR_BLUE
Rectangle(oDlg:hDC, 35, 68, 200, 318, oPen:hPen)
This way I can change the border color according with color of pen but I couldn't fill the rectangle with any color else white.
Regards,
Maurilio |
2 questions: @ x y bitmap and draw rectangle | 1) Use NOBORDER clause.
2) Try FloodFill( nRow, nCol, nRGBColor ) method.
EMG |
2 questions: @ x y bitmap and draw rectangle | Thanks a lot, Enrico!
I'll try it!
Regards,
Maurilio |
2 radio | Amigos:
Tengo 2 Radio desde recursos:
LOCAL oRadio1,oRadio2,nRadio1:=1,nRadio2:=2
DEFINE RADIO oRadio1 VAR nRadio1 ID 120,13,140 of......
DEFINE RADIO oRadio2 VAR nRadio2 ID 150,160,170 OF...
Al inicio del dialogo se muestran bien, pero cuando
cambio algun o de ellos el otro radio se desmarca.
Si doy click en el radio1 el radio 2 se desmarca y si doy
click en el radio 2 el radio1 se desmarca.
Alguna sugerencia o a alguien le ha pasado?
Saludos y gracias.
Ruben Fernandez.
FWH 2.7 Julio, Harbour y Borland. |
2 radio | debes en los recursos agrugar cada juego de radio, es decir marcas los botones del radio 1 y en las propiedades le das agrupar, luego haces lo mismo con los del raio 2, espero te sirva, asi lo resolvi... |
2 radio | En workshop el Radio se define automaticamente como
AUTO RADIO BUTTON y debe ser RADIO BUTTON unicamente
Espero te sirva |
2 radio | Gracias Jose Luis y Marco Augusto:
Lo resolvi marcando como Radiobutton en el PellesC
Muchas gracias a ambos.
Saludos
Ruben Fernandez. |
2 txbrowse in 1 dialog bdblclick cause browse display wrong | Hi,
If I put 2 txbrowse into 1 dialog, after dblclick on one txbrowse, click each of the 2 txbrowses ,the 2 txbrowse will cause worng refresh/display/confused.
Any suggestion ?
Best regard!
Shuming Wang |
2 txbrowse in 1 dialog bdblclick cause browse display wrong | I change into below, porblem still,
obrow1
obrow2
obrow2:BLDBLClick:={||msginfo("aaa")}
METHOD LDblClick( nRow, nCol, nKeyFlags ) CLASS TXBrowse
local oCol
local nColPos, nRowPos
// add
if ::BLDBLClick<>nil
return Super:LDblClick( nRow, nCol, nKeyFlags )
end
//add
::CancelEdit()
::Seek()
Best regard!
Shuming Wang |
2 xbrowse is strange behavier! | Dear Antonio,
I have problem with 2 xbrowse in one dialog. I've used TWbrowse for this dialog without problem. This is the following code and .RC file.
TWbrowse is work ok.
[url=http://img371.imageshack.us/my.php?image=twowbrwcf4.jpg:3ppnz4bz][img:3ppnz4bz]http://img371.imageshack.us/img371/6816/twowbrwcf4.th.jpg[/img:3ppnz4bz][/url:3ppnz4bz]
TXbrowse is not work.
[url=http://img356.imageshack.us/my.php?image=twoxbrwyq2.jpg:3ppnz4bz][img:3ppnz4bz]http://img356.imageshack.us/img356/9741/twoxbrwyq2.th.jpg[/img:3ppnz4bz][/url:3ppnz4bz]
[code:3ppnz4bz]
#include 'fivewin.ch'
#include 'xbrowse.ch'
Function main
local oDlg, oBrw1, oBrw2, oSay
Request DBFCDX, DBFFPT
RddSetDefault('DBFCDX')
USE CCRCODE ALIAS SUB SHARED NEW
SUB->(DBSETORDER(1))
SUB->(DbGoTop())
USE CCRCODE ALIAS MAN SHARED NEW
MAN->(DBSETORDER(1))
MAN->(cmxSetScope(0,'M '))
MAN->(cmxSetScope(1,'M '))
MAN->(Dbgotop())
DEFINE DIALOG oDlg RESOURCE 'CONMCODE'
SELECT('MAN')
REDEFINE XBROWSE oBrw1 FIELDS MAN->COD_CODE, MAN->COD_DESC ;
HEADERS TE('????','Code'), TE('??????','Description') ;
FIELDSIZES 50, 180 ;
UPDATE ;
ID 101
oBrw1:bChange := { || ( Brow_sCode( oBrw1 , oBrw2 , .F. ), oBrw1:Refresh() ) }
SELECT('SUB')
SUB->(DBseek(MAN->COD_CODE))
REDEFINE XBROWSE oBrw2 FIELDS SUB->COD_CODE, SUB->COD_DESC ;
HEADERS TE('????','Code'), TE('??????','Description') ;
FIELDSIZES 50, 180 ;
UPDATE ;
ID 102
ACTIVATE DIALOG oDlg ON INIT (Eval( oBrw1:bChange ) ) RESIZE16
Close all
SET RESOURCES TO
ResAllFree()
return .T.
function TE(T,E)
return E
*-----------------*
Function Brow_sCode( oBrw1 , oBrw2 , lDelete )
Select SUB
SUB->(cmxClrScope(0))
SUB->(cmxClrScope(1))
if lDelete
MsgAlert( 'Code : '+MAN->COD_CODE+' was deleted' )
end
SUB->(DbSeek(MAN->COD_CODE))
SUB->(cmxSetScope(0,MAN->COD_CODE))
SUB->(cmxSetScope(1,MAN->COD_CODE))
if SUB->(cmxKeyCount()) > 0
oBrw2:GoTop()
end
oBrw2:Refresh(.T.)
SELECT('MAN')
oBrw1:Refresh()
return nil
Function cmxSetScope( nScope, xVal )
return if(PCount() <= 1, OrdScope( nScope ), OrdScope( nScope, xVal ))
Function cmxClrScope( nScope )
return OrdScope( nScope, Nil)
Function cmxKeyNo()
return OrdKeyNo()
Function cmxKeyCount()
return OrdKeyCount()
Function cmxKeyCoun()
return OrdKeyCount()
Function cmxKeyGoTo(nKey)
return OrdKeyGoTo(nKey)
/*
CONMCODE DIALOG 6, 15, 393, 203
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "User Define Pick Box"
FONT 8, "MS Sans Serif"
{
CONTROL "", 101, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 2, 14, 190, 152
CONTROL "", 102, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 199, 14, 190, 152
LTEXT "Main Group Code", 109, 2, 2, 65, 10
LTEXT "Pick Up Code", 110, 199, 2, 65, 10
PUSHBUTTON "&New Group", 11, 2, 169, 45, 30
PUSHBUTTON "&Edit Group", 12, 48, 169, 45, 30
PUSHBUTTON "&Delete Group", 13, 94, 169, 45, 30
PUSHBUTTON "Ne&w Code", 14, 199, 169, 45, 30
PUSHBUTTON "E&dit Code", 15, 245, 169, 45, 30
PUSHBUTTON "Delete &Code", 16, 291, 169, 45, 30
CONTROL "", -1, "STATIC", SS_BLACKFRAME | WS_CHILD | WS_VISIBLE, 195, 2, 1, 197
}
*/[/code:3ppnz4bz] |
2 xbrowse is strange behavier! | You forgot to tell use what the problem is.
Why are you redefining the names of the database functions? Is this so you don't have to change existing source code?
If this is not for an existing program, then I would strongly suggest using a database object.
James |
2 xbrowse is strange behavier! | Mr Dutch
Theoretically there should not be any difference whatever be the Browse. I would like to test your code on wbrowse and xbrowse. If you like, you may please send to my private email, a copy of your CCRCODE.DBF, CCRCODE.CDX and CCRCODE.FPT ? You may send a sample of the table instead of the actual table. |
2 xbrowse is strange behavier! | I tested with similar tables and it is working fine for me.
[code:hhqmhcuk]
Function main
local oDlg, oBrw1, oBrw2, oSay
Request DBFCDX, DBFFPT
RddSetDefault('DBFCDX')
USE CCRCODE ALIAS SUB SHARED NEW
SUB->(DBSETORDER(1))
SUB->(DbGoTop())
USE MANCODE ALIAS MAN SHARED NEW
MAN->(DBSETORDER(1))
MAN->(Dbgotop())
DEFINE DIALOG oDlg RESOURCE 'CONMCODE'
REDEFINE XBROWSE oBrw1 FIELDS MAN->COD_CODE, MAN->COD_DESC ;
HEADERS 'Code', 'Description' ;
ALIAS "MAN" uPDATE ;
ID 101
oBrw1:bChange := { || ( Brow_sCode( oBrw1 , oBrw2 , .F. ), oBrw1:Refresh() ) }
SUB->(DBseek(MAN->COD_CODE))
REDEFINE XBROWSE oBrw2 FIELDS SUB->COD_CODE, SUB->COD_DESC ;
HEADERS 'Code', 'Description' ;
ALIAS "SUB" UPDATE ;
ID 102
ACTIVATE DIALOG oDlg ON INIT (Eval( oBrw1:bChange ) ) RESIZE16
Close all
SET RESOURCES TO
ResAllFree()
return nil
Function Brow_sCode( oBrw1 , oBrw2 , lDelete )
Select SUB
if lDelete
MsgAlert( 'Code : '+MAN->COD_CODE+' was deleted' )
end
SUB->(OrdScope(0,MAN->COD_CODE))
SUB->(OrdScope(1,MAN->COD_CODE))
SUB->(dbGotop())
oBrw2:GoTop()
oBrw2:Refresh(.T.)
oBrw1:Refresh()
return nil
[/code:hhqmhcuk]
I am getting the desired results with the above code. |
2 xbrowse is strange behavier! | Dear James & nageswaragunupudi,
The problem is the first browse (Main/Left) is not show correctly. It should show 4 main group but it show 1 main group with 4 lines. It has not problem with Twbrowse (the same code).
This is the sample code, database files and .RC (1 TWbrowse/ 1 TXbrowse).
[url:3pd2v0lj]http://rapidshare.com/files/107430839/samples.zip.html[/url:3pd2v0lj]
[quote="nageswaragunupudi":3pd2v0lj]Mr Dutch
Theoretically there should not be any difference whatever be the Browse. I would like to test your code on wbrowse and xbrowse. If you like, you may please send to my private email, a copy of your CCRCODE.DBF, CCRCODE.CDX and CCRCODE.FPT ? You may send a sample of the table instead of the actual table.[/quote:3pd2v0lj]
Regards,
Dutch |
2 xbrowse is strange behavier! | Dutch
I had a smiliar problem with several nested xbrowse, it was fixed by adding to each browse
obrw:bBookMark := {| n | iif( n == nil,aliasxxx->(RecNo()), aliasxxx->(dbgoto(n)) ) } // Required!
In theory this is not needed anymore in fwh 8.04, but give it a try. My nested xbrowse (4) work OK
Hth
Richard |
2 xbrowse is strange behavier! | Dear Richard,
Now I use xHb.com (Nov 07) and FWH 8.04. It is the same.
Could you try my code? If you change XBROWSE with LISTBOX and change in .RC file with TWbrowse. You will see what it is.
Regards,
Dutch |
2 xbrowse is strange behavier! | Mr Duch
The solution is simple. You have to use ALIAS 'MAN' or ALIAS 'SUB' compulsorily. Here is the modification to your code.
[code:5ualyrcp]
SELECT('MAN') // optional
REDEFINE XBROWSE oBrw1 FIELDS MAN->COD_CODE, MAN->COD_DESC ;
HEADERS TE('????','Code'), TE('??????','Description') ;
FIELDSIZES 50, 180 ;
UPDATE ;
ID 101 ;
ALIAS 'MAN' // This is necessary
oBrw1:bChange := { || ( Brow_sCode( oBrw1 , oBrw2 , .F. ), oBrw1:Refresh() ) }
SELECT('SUB') // Optional
SUB->(DBseek(MAN->COD_CODE))
REDEFINE XBROWSE oBrw2 FIELDS SUB->COD_CODE, SUB->COD_DESC ;
HEADERS TE('????','Code'), TE('??????','Description') ;
FIELDSIZES 50, 180 ;
UPDATE ;
ID 102 ;
ALIAS 'SUB' // This is necessary
[/code:5ualyrcp]
With these modifications, the same code works the same way both on wbrowse and xbrowse.
You may like to know why the ALIAS '???' is "Necessary".
Wbrowse initializes its setup soon after the command is executed. If alias is specified it uses the alias and if no alias is specified, it uses the current work area. But it is always recommended practice to specify ALIAS even with wbrowse.
In contrast, xBrowse initializes its setup while executing oBrw:CreateFromCode() / oBrw:CreateFromResource(). In case of resources, if oBrw:CreateFromResource is not specified, it initializes while activating the dialog.
If ALIAS clause is specified with the browse definition, it uses the specified alias. If it is not specified ( as in this case) it uses the current wokarea when the dialog is activated. In this case it is 'SUB'. So the same alias is used to set up both browses.
It is always desirable to specify the workarea as ALIAS 'MAN' or ALIAS 'SUB' along with the command. |
2 xbrowse is strange behavier! | Mr Richard Chidiak
[quote="Richard Chidiak":1fnshev4]Dutch
I had a smiliar problem with several nested xbrowse, it was fixed by adding to each browse
obrw:bBookMark := {| n | iif( n == nil,aliasxxx->(RecNo()), aliasxxx->(dbgoto(n)) ) } // Required!
In theory this is not needed anymore in fwh 8.04, but give it a try. My nested xbrowse (4) work OK
Hth
Richard[/quote:1fnshev4]
Kindly do not mistake me that I am repeating this for the second time. Bookmark assignment is really not necessary. XBrowse makes the same assignment. It is not only in 8.04. This assignment was there the same way since very long time ( from the time I started 32 bit programming).
The real reason for your problem if any must be different. Particularly please check up if you assigned the oBrw:cAlias correctly for each browse. Real solution is not this bBookMark codeblock but should be something else. |
2 xbrowse is strange behavier! | Dear nageswaragunupudi,
Thanks a lot, it works as expectation.
Thank for your help and give me an idea of it.
Regards,
Dutch
[quote="nageswaragunupudi":1rofs7r4]Mr Duch
The solution is simple. You have to use ALIAS 'MAN' or ALIAS 'SUB' compulsorily. Here is the modification to your code.
With these modifications, the same code works the same way both on wbrowse and xbrowse.
You may like to know why the ALIAS '???' is "Necessary".
Wbrowse initializes its setup soon after the command is executed. If alias is specified it uses the alias and if no alias is specified, it uses the current work area. But it is always recommended practice to specify ALIAS even with wbrowse.
In contrast, xBrowse initializes its setup while executing oBrw:CreateFromCode() / oBrw:CreateFromResource(). In case of resources, if oBrw:CreateFromResource is not specified, it initializes while activating the dialog.
If ALIAS clause is specified with the browse definition, it uses the specified alias. If it is not specified ( as in this case) it uses the current wokarea when the dialog is activated. In this case it is 'SUB'. So the same alias is used to set up both browses.
It is always desirable to specify the workarea as ALIAS 'MAN' or ALIAS 'SUB' along with the command.[/quote:1rofs7r4] |
2 xbrowses on the same window ... | Hi,
Stupid question - waht is easiest way to direct scope for second alias from first alias xbrowse ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> ... I allways worked with some related alias in folders enviroment - tipycally such - pressing on other folder I directed needful scope . But in this situaction it's needful to view 2 xbrowses at the same time and managing 1-st browse records , change scopes on the 2-nd browse . Can't find how to do that .... <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
With best regards ! |
2 xbrowses on the same window ... | [quote="Rimantas":38xo3mra]Hi,
Stupid question - waht is easiest way to direct scope for second alias from first alias xbrowse ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> ... I allways worked with some related alias in folders enviroment - tipycally such - pressing on other folder I directed needful scope . But in this situaction it's needful to view 2 xbrowses at the same time and managing 1-st browse records , change scopes on the 2-nd browse . Can't find how to do that .... <!-- s:oops: --><img src="{SMILIES_PATH}/icon_redface.gif" alt=":oops:" title="Embarassed" /><!-- s:oops: -->
With best regards ![/quote:38xo3mra]
Solution found - code block for xBrowse method bChange... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> Excuse me ! |
20 buttons with numbers | I must create 20 buttons with numbers and when I click on each buttons must be clicked
but I must create it for each letters
sample :
a . 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20
b. 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20
c. 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20
d. 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20
and for each letters I must show with button is clicked
sample :
Letter Number buttons result
c. 1 2 3 4 5 6 7 8 9 10 11 11 12 13 14 15 16 17 18 19 20 11
How I can create it ?
I |
20 buttons with numbers | [code=fw:1fzttacj]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg ;<br /> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">10</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">290</span>,<span style="color: #000000;">590</span>;<br /> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"lalala"</span> ;<br /> <span style="color: #0000ff;">Of</span> oWnd;<br /> <span style="color: #0000ff;">Pixel</span><br /><br /> MultiButton<span style="color: #000000;">(</span><span style="color: #000000;">4</span>, <span style="color: #000000;">10</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">Dialog</span> oDlg;<br /> <span style="color: #0000ff;">CENTERED</span><br /><br /><span style="color: #00C800;">Function</span> MultiButton<span style="color: #000000;">(</span>nChar, nNumber<span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">Local</span> x := <span style="color: #000000;">0</span>, y := <span style="color: #000000;">0</span>, cChar := <span style="color: #ff0000;">""</span><br /><br /> <span style="color: #00C800;">For</span> x := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nChar<br /><br /> <span style="color: #00C800;">For</span> y := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nNumber<br /><br /> cChar := Chr<span style="color: #000000;">(</span> <span style="color: #000000;">64</span> + x <span style="color: #000000;">)</span><br /><br /> @ x*<span style="color: #000000;">25</span>, y*<span style="color: #000000;">25</span> ButtonBmp;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">20</span>, <span style="color: #000000;">20</span>;<br /> <span style="color: #0000ff;">ACTION</span> Alert<span style="color: #000000;">(</span><span style="color: #ff0000;">"Button: "</span> + cChar + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> y <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><span style="color: #000000;">)</span>;<br /> <span style="color: #0000ff;">OF</span> oDlg;<br /> <span style="color: #0000ff;">prompt</span> cChar + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> y <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /> <span style="color: #0000ff;">Pixel</span><br /> end<br /> <br /> end<br /><br /><span style="color: #00C800;">Return</span><br /> </div>[/code:1fzttacj] |
20 buttons with numbers | I not Know How Make the buttons
but I Not Know How show the buttons clicked
for sample the clausole on change of buttons not exist |
20 buttons with numbers | I'd edited the sample, try it now |
20 buttons with numbers | Silvio...
it a little modification of sambomb's sample
[code=fw:3rx7dwf1]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><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 /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg ;<br /> <span style="color: #0000ff;">FROM</span> <span style="color: #000000;">10</span>, <span style="color: #000000;">20</span> <span style="color: #0000ff;">TO</span> <span style="color: #000000;">290</span>,<span style="color: #000000;">590</span>;<br /> <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"lalala"</span> ;<br /> <span style="color: #0000ff;">Pixel</span><br /><br /> MultiButton<span style="color: #000000;">(</span><span style="color: #000000;">4</span>, <span style="color: #000000;">10</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">Activate</span> <span style="color: #0000ff;">Dialog</span> oDlg;<br /> <span style="color: #0000ff;">CENTERED</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00C800;">Function</span> MultiButton<span style="color: #000000;">(</span>nChar, nNumber<span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">Local</span> x := <span style="color: #000000;">0</span>, y := <span style="color: #000000;">0</span>, cChar := <span style="color: #ff0000;">""</span><br /><span style="color: #00C800;">local</span> oBtn<br /><br /> <span style="color: #00C800;">For</span> x := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nChar<br /><br /> <span style="color: #00C800;">For</span> y := <span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nNumber<br /><br /> cChar := Chr<span style="color: #000000;">(</span> <span style="color: #000000;">64</span> + x <span style="color: #000000;">)</span><br /><br /> @ x*<span style="color: #000000;">25</span>, y*<span style="color: #000000;">25</span> ButtonBmp oBtn;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">20</span>, <span style="color: #000000;">20</span>;<br /> <span style="color: #0000ff;">OF</span> oDlg;<br /> <span style="color: #0000ff;">prompt</span> cChar + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> y <span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /> <span style="color: #0000ff;">Pixel</span><br /> <br /> oBtn:<span style="color: #000000;">bAction</span> = BtnAction<span style="color: #000000;">(</span> cChar, y <span style="color: #000000;">)</span> <br /> <br /> end<br /> <br /> end<br /><br /><span style="color: #00C800;">Return</span><br /> <br /><span style="color: #00C800;">function</span> BtnAction<span style="color: #000000;">(</span> cChar, y <span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span> <span style="color: #000000;">{</span> | |Alert<span style="color: #000000;">(</span><span style="color: #ff0000;">"Button: "</span> + cChar + AllTrim<span style="color: #000000;">(</span> Str<span style="color: #000000;">(</span> y <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /> </div>[/code:3rx7dwf1] |
20 buttons with numbers | Daniel, with this modification you duplicate the button when assign to the same var each button, you must use something like it:
Local oBtn := Array(nChar*nNumber)
oBtn[ ( ( nchar - 1 ) * x ) + y ]
This way you assign each button to a different var... [;)] |
20 buttons with numbers | thanks but perhaps I not explain good to YOU
I made this small sample :
[code=fw:16ldi5z3]<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> BTN_WIDTH <span style="color: #000000;">10</span><br /><span style="color: #00D7D7;">#define</span> BTN_HEIGHT <span style="color: #000000;">10</span><br /><br /><span style="color: #00C800;">function</span> test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> oDlg<br /> <span style="color: #00C800;">Local</span> obtn<span style="color: #000000;">[</span><span style="color: #000000;">200</span><span style="color: #000000;">]</span><br /> <span style="color: #00C800;">Local</span> nRow,Row,t,k ,xCol<br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">from</span> <span style="color: #000000;">1</span>,<span style="color: #000000;">2</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">28</span>,<span style="color: #000000;">78</span><br /> Xrow:=<span style="color: #000000;">1</span><br /> xCol:=<span style="color: #000000;">1</span><br /> row:=<span style="color: #000000;">1</span><br /> <span style="color: #00C800;">For</span> t=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">10</span><br /> @ Xrow,xCol <span style="color: #0000ff;">say</span> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>t<span style="color: #000000;">)</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">"."</span> <span style="color: #0000ff;">SIZE</span> BTN_WIDTH,BTN_HEIGHT<br /> col:=<span style="color: #000000;">03</span><br /> <span style="color: #00C800;">For</span> k=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> <span style="color: #000000;">20</span><br /> @ row,col <span style="color: #0000ff;">BUTTON</span> obtn<span style="color: #000000;">[</span>k<span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>k<span style="color: #000000;">)</span><span style="color: #000000;">)</span> <span style="color: #0000ff;">SIZE</span> BTN_WIDTH,BTN_HEIGHT<br /> col :=col<span style="color: #000000;">+2</span><br /> <span style="color: #00C800;">next</span> k<br /> @ row<span style="color: #000000;">+1.2</span>,Col<span style="color: #000000;">+2</span> <span style="color: #0000ff;">say</span> <span style="color: #ff0000;">"Result:"</span><br /> Xrow:=xRow<span style="color: #000000;">+1.2</span><br /> row:=row<span style="color: #000000;">+1</span><br /> <span style="color: #00C800;">next</span> t<br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg<br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:16ldi5z3]
On the word "result" I must write wich button is clicked
On each Line of button must be clicked one of 20 buttons
and If I press with the mouse on a button this button must be clicked
the prg must give me a string as " 1 2 3 4 5 6 7 8 9 10" - only ten number , one for each line
or an array with the numbers selected ( only ten numbers)
it is hard to make it ?
thanks in advance |
20 buttons with numbers | Let me understand better...
You'll have 200 buttons, 20 cols * 10 row.
For each row you want only the last pressed?
And at the end of the program you want a return of each row last button?
Example:
Line 1: Last Button = 1
Line 2: Last Button = 2
Line 3: Last Button = 5
Line 4: Last Button = 8
Line 5: Last Button = 9
Line 6: Last Button = 9
Line 7: Last Button = 9
Line 8: Last Button = 9
Line 9: Last Button = 9
Line 10: Last Button = 9
Return {1,2,5,8,9,9,9,9,9}
Right? |
20 buttons with numbers | yes
and that button I click must be pressed toshow on dialog with button ( of each line) is clicked or we can change color ... |
20 buttons with numbers | Silvio...
you can use new button class ( TRBbtn )
this is a example...
[code=fw:3rnw2r5k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ribbon.ch"</span><br /><br /><br /><span style="color: #00D7D7;">#define</span> BTN_WIDTH <span style="color: #000000;">12</span><br /><span style="color: #00D7D7;">#define</span> BTN_HEIGHT <span style="color: #000000;">12</span><br /><br /><span style="color: #00C800;">function</span> test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> oDlg<br /> <span style="color: #00C800;">Local</span> xCol, xRow<br /> <span style="color: #00C800;">local</span> t, k, nTotRow, nTotCol<br /> <span style="color: #00C800;">local</span> aSay<br /> <span style="color: #00C800;">local</span> aBtn, nPos<br /> <span style="color: #00C800;">local</span> nMaxVal := <span style="color: #000000;">10</span><br /> <br /> nTotCol = <span style="color: #000000;">20</span><br /> nTotRow = <span style="color: #000000;">10</span><br /> <br /> aBtn = Array<span style="color: #000000;">(</span> nTotRow * nTotCol <span style="color: #000000;">)</span><br /> aSay = Array<span style="color: #000000;">(</span> nTotRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">size</span> <span style="color: #000000;">850</span>, <span style="color: #000000;">600</span> <span style="color: #0000ff;">pixel</span><br /> xRow:=<span style="color: #000000;">1</span><br /> xCol:=<span style="color: #000000;">10</span><br /><br /> <span style="color: #00C800;">For</span> t=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nTotRow<br /> @ xRow, <span style="color: #000000;">1</span> <span style="color: #0000ff;">say</span> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>t<span style="color: #000000;">)</span>,<span style="color: #000000;">2</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">"."</span> <span style="color: #0000ff;">SIZE</span> BTN_WIDTH,BTN_HEIGHT <span style="color: #0000ff;">pixel</span><br /> <span style="color: #00C800;">For</span> k=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nTotCol<br /> nPos = nTotCol * <span style="color: #000000;">(</span> t - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> + k<br /> @ xRow, xCol rbbtn aBtn<span style="color: #000000;">[</span> nPos <span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>k, <span style="color: #000000;">2</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">SIZE</span> BTN_WIDTH,BTN_HEIGHT <span style="color: #0000ff;">CENTER</span> <span style="color: #0000ff;">ROUND</span> BORDER<br /> xCol += BTN_WIDTH + <span style="color: #000000;">5</span><br /> aBtn<span style="color: #000000;">[</span> nPos <span style="color: #000000;">]</span>:<span style="color: #000000;">bAction</span> = BtnAction<span style="color: #000000;">(</span> k, t, nTotCol, aBtn, aSay, nMaxVal <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">next</span> k<br /> @ xRow + <span style="color: #000000;">5</span>, xCol <span style="color: #0000ff;">say</span> aSay<span style="color: #000000;">[</span> t <span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Result:"</span> <span style="color: #0000ff;">pixel</span><br /> xRow += BTN_HEIGHT + <span style="color: #000000;">5</span><br /> xCol = <span style="color: #000000;">10</span><br /> <span style="color: #00C800;">next</span> t<br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg<br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">function</span> BtnAction<span style="color: #000000;">(</span> x, y, nTotCol, aBtn, aSay, nMaxVal<span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span> <span style="color: #000000;">{</span> | oSelf | CheckStatus<span style="color: #000000;">(</span> oSelf, x, y, nTotCol, aBtn, aSay, nMaxVal <span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <br /> <br /><span style="color: #00C800;">Function</span> CheckStatus<span style="color: #000000;">(</span> oSelf, x, y, nTotCol, aBtn, aSay, nMaxVal <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> nCount := <span style="color: #000000;">0</span><br /> <br /> <br /> AEval<span style="color: #000000;">(</span> aBtn, <span style="color: #000000;">{</span>| oSelf | <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> oSelf:<span style="color: #000000;">lSelected</span>, nCount++, <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>, <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> y - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> * nTotCol <span style="color: #000000;">)</span> + <span style="color: #000000;">1</span>, nTotCol <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">if</span> nCount <= nMaxVal<br /> aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">Cargo</span> := <span style="color: #ff0000;">"Result: "</span><br /> <span style="color: #00C800;">if</span> oSelf:<span style="color: #000000;">lSelected</span><br /> oSelf:<span style="color: #000000;">lSelected</span> := .F.<br /> <span style="color: #00C800;">else</span><br /> oSelf:<span style="color: #000000;">lSelected</span> := .T. .and. nCount < nMaxVal <br /> <span style="color: #00C800;">if</span> ! oSelf:<span style="color: #000000;">lSelected</span><br /> MsgStop<span style="color: #000000;">(</span> <span style="color: #ff0000;">"You can't Select"</span> + CRLF + <span style="color: #ff0000;">"Max: "</span> + Str<span style="color: #000000;">(</span> nMaxVal <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">endif</span><br /> AEval<span style="color: #000000;">(</span> aBtn, <span style="color: #000000;">{</span>| oSelf, nIdx | aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">Cargo</span> += <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> oSelf:<span style="color: #000000;">lSelected</span>, Str<span style="color: #000000;">(</span> nIdx - <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> y - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> * nTotCol <span style="color: #000000;">)</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" "</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>, ;<br /> <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> y - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> * nTotCol <span style="color: #000000;">)</span> + <span style="color: #000000;">1</span>, <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> nTotCol <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">SetText</span><span style="color: #000000;">(</span> aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">Cargo</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:3rnw2r5k] |
20 buttons with numbers | Silvio...
New sample...
[code=fw:26s5dc2k]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ribbon.ch"</span><br /><br /><br /><span style="color: #00D7D7;">#define</span> BTN_WIDTH <span style="color: #000000;">12</span><br /><span style="color: #00D7D7;">#define</span> BTN_HEIGHT <span style="color: #000000;">12</span><br /><br /><span style="color: #00C800;">function</span> test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">Local</span> oDlg<br /> <span style="color: #00C800;">Local</span> xCol, xRow<br /> <span style="color: #00C800;">local</span> t, k, nTotRow, nTotCol<br /> <span style="color: #00C800;">local</span> aSay<br /> <span style="color: #00C800;">local</span> aBtn, nPos<br /> <span style="color: #00C800;">local</span> nMaxVal := <span style="color: #000000;">1</span><br /> <br /> nTotCol = <span style="color: #000000;">20</span><br /> nTotRow = <span style="color: #000000;">10</span><br /> <br /> aBtn = Array<span style="color: #000000;">(</span> nTotRow * nTotCol <span style="color: #000000;">)</span><br /> aSay = Array<span style="color: #000000;">(</span> nTotRow <span style="color: #000000;">)</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">DIALOG</span> oDlg <span style="color: #0000ff;">size</span> <span style="color: #000000;">850</span>, <span style="color: #000000;">600</span> <span style="color: #0000ff;">pixel</span><br /> xRow:=<span style="color: #000000;">1</span><br /> xCol:=<span style="color: #000000;">10</span><br /><br /> <span style="color: #00C800;">For</span> t=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nTotRow<br /> @ xRow, <span style="color: #000000;">1</span> <span style="color: #0000ff;">say</span> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>t<span style="color: #000000;">)</span>,<span style="color: #000000;">2</span><span style="color: #000000;">)</span>+<span style="color: #ff0000;">"."</span> <span style="color: #0000ff;">SIZE</span> BTN_WIDTH,BTN_HEIGHT <span style="color: #0000ff;">pixel</span><br /> <span style="color: #00C800;">For</span> k=<span style="color: #000000;">1</span> <span style="color: #0000ff;">to</span> nTotCol<br /> nPos = nTotCol * <span style="color: #000000;">(</span> t - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> + k<br /> @ xRow, xCol rbbtn aBtn<span style="color: #000000;">[</span> nPos <span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> alltrim<span style="color: #000000;">(</span>str<span style="color: #000000;">(</span>k, <span style="color: #000000;">2</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span> ;<br /> <span style="color: #0000ff;">SIZE</span> BTN_WIDTH,BTN_HEIGHT <span style="color: #0000ff;">CENTER</span> <span style="color: #0000ff;">ROUND</span> BORDER<br /> xCol += BTN_WIDTH + <span style="color: #000000;">5</span><br /> aBtn<span style="color: #000000;">[</span> nPos <span style="color: #000000;">]</span>:<span style="color: #000000;">bAction</span> = BtnAction<span style="color: #000000;">(</span> k, t, nTotCol, nTotRow, aBtn, aSay, nMaxVal <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">next</span> k<br /> @ xRow + <span style="color: #000000;">5</span>, xCol <span style="color: #0000ff;">say</span> aSay<span style="color: #000000;">[</span> t <span style="color: #000000;">]</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Result:"</span> <span style="color: #0000ff;">pixel</span><br /> xRow += BTN_HEIGHT + <span style="color: #000000;">5</span><br /> xCol = <span style="color: #000000;">10</span><br /> <span style="color: #00C800;">next</span> t<br /><span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">DIALOG</span> oDlg<br /><span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span><br /><br /><span style="color: #00C800;">function</span> BtnAction<span style="color: #000000;">(</span> x, y, nTotCol, nTotRow, aBtn, aSay, nMaxVal<span style="color: #000000;">)</span><br /><span style="color: #00C800;">return</span> <span style="color: #000000;">{</span> | oSelf | CheckStatus<span style="color: #000000;">(</span> oSelf, x, y, nTotCol, nTotRow, aBtn, aSay, nMaxVal <span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <br /> <br /><span style="color: #00C800;">Function</span> CheckStatus<span style="color: #000000;">(</span> oSelf, x, y, nTotCol, nTotRow, aBtn, aSay, nMaxVal <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">local</span> nCount := <span style="color: #000000;">0</span><br /> <span style="color: #00C800;">local</span> j<br /> <br /> <br /> AEval<span style="color: #000000;">(</span> aBtn, <span style="color: #000000;">{</span>| oSelf | <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> oSelf:<span style="color: #000000;">lSelected</span>, nCount++, <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>, <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> y - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> * nTotCol <span style="color: #000000;">)</span> + <span style="color: #000000;">1</span>, nTotCol <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">if</span> nCount <= nMaxVal<br /> aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">Cargo</span> := <span style="color: #ff0000;">"Result: "</span><br /> <span style="color: #00C800;">if</span> oSelf:<span style="color: #000000;">lSelected</span><br /> oSelf:<span style="color: #000000;">lSelected</span> := .F.<br /> <span style="color: #00C800;">else</span><br /> oSelf:<span style="color: #000000;">lSelected</span> := .T. .and. nCount < nMaxVal <br /> <span style="color: #00C800;">if</span> ! oSelf:<span style="color: #000000;">lSelected</span><br /> MsgStop<span style="color: #000000;">(</span> <span style="color: #ff0000;">"You can't Select"</span> + CRLF + <span style="color: #ff0000;">"Max: "</span> + Str<span style="color: #000000;">(</span> nMaxVal <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">else</span><br /> <span style="color: #00C800;">for</span> j = <span style="color: #000000;">0</span> <span style="color: #0000ff;">to</span> nTotRow - <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">if</span> aBtn<span style="color: #000000;">[</span> j * nTotCol + x <span style="color: #000000;">]</span>:<span style="color: #000000;">lSelected</span> .and. <span style="color: #000000;">(</span> j + <span style="color: #000000;">1</span> <span style="color: #000000;">)</span>#y<br /> MsgStop<span style="color: #000000;">(</span> <span style="color: #ff0000;">"You can't Select this number"</span> + CRLF + <span style="color: #ff0000;">"was selected in Row: "</span> + Str<span style="color: #000000;">(</span> j + <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> aBtn<span style="color: #000000;">[</span> <span style="color: #000000;">(</span>y - <span style="color: #000000;">1</span><span style="color: #000000;">)</span> * nTotCol + x <span style="color: #000000;">]</span>:<span style="color: #000000;">lSelected</span> = .F.<br /> aBtn<span style="color: #000000;">[</span> <span style="color: #000000;">(</span>y - <span style="color: #000000;">1</span><span style="color: #000000;">)</span> * nTotCol + x <span style="color: #000000;">]</span>:<span style="color: #0000ff;">Refresh</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> exit<br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">next</span><br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">endif</span><br /> AEval<span style="color: #000000;">(</span> aBtn, <span style="color: #000000;">{</span>| oSelf, nIdx | aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">Cargo</span> += <span style="color: #00C800;">If</span><span style="color: #000000;">(</span> oSelf:<span style="color: #000000;">lSelected</span>, Str<span style="color: #000000;">(</span> nIdx - <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> y - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> * nTotCol <span style="color: #000000;">)</span>, <span style="color: #000000;">2</span> <span style="color: #000000;">)</span> + <span style="color: #ff0000;">" "</span>, <span style="color: #ff0000;">""</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span>, ;<br /> <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> y - <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> * nTotCol <span style="color: #000000;">)</span> + <span style="color: #000000;">1</span>, <span style="color: #000000;">(</span> <span style="color: #000000;">(</span> nTotCol <span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">SetText</span><span style="color: #000000;">(</span> aSay<span style="color: #000000;">[</span> y <span style="color: #000000;">]</span>:<span style="color: #000000;">Cargo</span> <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">endif</span><br /> <br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:26s5dc2k] |
20 buttons with numbers | thankssssssssssssss it was that I am searching
Good Mr D |
2000 registered users | Dear friends,
We have reached 2000 users on these forums <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
and growing... |
2000 registered users | Great.
Let's make a party. All Fivewinners to Antonio's home this evening <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
2000 registered users | That would be great! <!-- s:wink: --><img src="{SMILIES_PATH}/icon_wink.gif" alt=":wink:" title="Wink" /><!-- s:wink: --> |
2003 Can't connect to Mysql server on 'localhost' (10061) | Hola, me da este error al conectarme. Como lo evito.
Quiero detectar cuando no se conecta....
He hecho
FWCONNECT oCn HOST chost USER cUser PASSWORD cPassword DB cDatabase
if ocn == nil
msginfo()
elseif ocn:nError <> 0
MsgInfo()
Endif
Antes de entrar en el if, me muestra el mensaje de error.
Gracias. |
2003 Can't connect to Mysql server on 'localhost' (10061) | En qué puerto tienes configurado la conexión? ( no veo la clausula PORT ) |
2003 Can't connect to Mysql server on 'localhost' (10061) | Hola Sr. Navarro.
Tengo la conexión en el puerto 3306, pero no hago la conexion a propósito para detectar el error.
Gracias. |
2003 Can't connect to Mysql server on 'localhost' (10061) | Una idea
[url:2jhwb69w]http://forums.fivetechsupport.com/viewtopic.php?f=3&t=39167&hilit=FW_OpenAdoConnection#p234174[/url:2jhwb69w] |
2007 CLAUSE OF BUTTON BAR NOT PAITING TEXT RIGHT TO BUTTONS | Mr.Antonio[code:1g1b0gj2]
DEFINE BUTTONBAR oBar OF oWnd SIZE 60, 40 //2007
DEFINE BUTTON oBtn1 OF oBar ACTION New() ;
RESOURCE "new" ;
PROMPT "New" GROUP TOOLTIP "New" LEFT
[/code:1g1b0gj2]
I gave below the results of BUTTONBAR with and without 2007 Clause
LEFT clause in BUTTON statement is not respected with 2007 clause.
How can I get it with 2007 clause ?
[url=http://img292.imageshack.us/my.php?image=btnbmpld4.png:1g1b0gj2][img:1g1b0gj2]http://img292.imageshack.us/img292/5213/btnbmpld4.th.png[/img:1g1b0gj2][/url:1g1b0gj2][code:1g1b0gj2]
Regards,
- Ramesh Babu P
[/code:1g1b0gj2] |
2007 CLAUSE OF BUTTON BAR NOT PAITING TEXT RIGHT TO BUTTONS | Right, Left and Bottom are not implemented in 2007 style. |
2007 CLAUSE OF BUTTON BAR NOT PAITING TEXT RIGHT TO BUTTONS | Mr.Nageswara RaoThank you for your advise.Mr.AntonioI Hope that this will be implemented soon.- Ramesh Babu P |
2007 style question | Is there a way to check if someone uses "classical windows" desighn in XP or Vista ?
IsAppThemed() still returns .T.
In this case menu and messagebar are 2007 style, dialogs look "old" which gives a strange look in that combination.
Regards,
Dietmar |
2007 style question | Dietmar,
> IsAppThemed() still returns .T.
IsAppThemed() just checks is the themes manifest file is included in the EXE
We need to find a way to detect if the user has the classic look |
2007 style question | We need to find a way to detect if the user has the classic look
That's what I was looking for <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> !
Hope you can find a way!
Regards,
Dietmar |
2007 style question | Dietmar,
Google is our friend <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
>
One possibility would be to check the value of ThemeActive in the registry under: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ThemeManager
I believe a value of 0 means that no themes are in use (Windows Classic Style) and a value of 1 means that themes are in use (Windows XP style).
> |
2007 style question | Dietmar,
More results <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
>
Call OpenThemeData. This will return a handle to the theme, which, if NULL indicates that the visual style manager is disabled or there is no information for that control, which means that you should continue to draw using your default routines.
> |
2007 style question | Antonio,
>Call OpenThemeData
Is that an existing FW or Harbour function, or is it an API?
James |
2007 style question | >Call OpenThemeData
Antonio,
could you please post the code to do that.
We are about to release a new version of our software...
Thanks,
Dietmar |
2007 style question | [quote="James Bott":1ygo1c5k]Is that an existing FW or Harbour function, or is it an API?[/quote:1ygo1c5k]
It's an API:
[code:1ygo1c5k]HTHEME OpenThemeData( HWND hwnd, LPCWSTR pszClassList );[/code:1ygo1c5k]
EMG |
2007 style question | Dietmar,
Here you have a working sample:
[code:37g49j3j]
function Main()
MsgInfo( IsThemeActive() )
return nil
#pragma BEGINDUMP
#include <windows.h>
#include <hbapi.h>
typedef BOOL ( * PFISTHEMEACTIVE ) ( void );
HB_FUNC( ISTHEMEACTIVE )
{
HINSTANCE hDLL = LoadLibrary( "UxTheme.dll" );
PFISTHEMEACTIVE IsThemeActive;
if( hDLL == NULL )
{
hb_retl( FALSE );
return;
}
else
IsThemeActive = ( void * ) GetProcAddress( hDLL, "IsThemeActive" );
if( IsThemeActive )
hb_retl( IsThemeActive() );
else
hb_retl( FALSE );
FreeLibrary( hDLL );
}
#pragma ENDDUMP
[/code:37g49j3j] |
2007 style question | nice - that's it!
But I noticed that there seems to be a little painting problem with bars without themes. Right of the bitmaps there is a darker grey...
I send the image to your per mail
Regards,
Dietmar |
2007 style question | Dietmar,
If you don't use the 2007 clause then you have to use the 3D clause to get the colors and painting that you want <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
2007 style question | Many Thanks, now the look is consistent with and without themes! <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Dietmar |
2010 style | Hello:
is a big pleasure present to all the next release of fivewin with style 2010
Ribbon, Menu and Message Bar
Ribbon, no change is required, only add 2010 to comamnd, new clause STARTBTN <nOpcion>, will show a "start" button (blue)
[code=fw:29972coe]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">DEFINE</span> RIBBONBAR ::<span style="color: #000000;">oRBar</span> <span style="color: #0000ff;">WINDOW</span> ::<span style="color: #000000;">oWnd</span> ;<br /> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Archivo"</span>, ;<br /> <span style="color: #ff0000;">"Configuración"</span>, ;<br /> <span style="color: #ff0000;">"Ficheros"</span>, ;<br /> <span style="color: #ff0000;">"Informes"</span>, ;<br /> <span style="color: #ff0000;">"Ayudas"</span> HEIGHT <span style="color: #000000;">133</span> OPTION <span style="color: #000000;">2</span> <span style="color: #000000;">2010</span> STARTBTN <span style="color: #000000;">1</span></div>[/code:29972coe]
[img:29972coe]http://www.sitasoft.net/fivewin/screen/rb2010.png[/img:29972coe]
Menu: is possible combine both style 2010 and 2007
[code=fw:29972coe]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #0000ff;">MENU</span> oMenu <span style="color: #000000;">2010</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Archivo"</span><br /> <span style="color: #0000ff;">MENU</span> <br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 1"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 1"</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 2"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 2"</span><br /> <span style="color: #0000ff;">ENDMENU</span><br /><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"&Edicion"</span><br /> <span style="color: #0000ff;">MENU</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 1"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 1 "</span> <br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 2"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 2 "</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 3"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 3"</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 4"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 4"</span> <br /> <span style="color: #0000ff;">SEPARATOR</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 5"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 5"</span> <br /> <span style="color: #0000ff;">MENU</span> <span style="color: #000000;">2007</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 1"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 1"</span><br /> <span style="color: #0000ff;">MENUITEM</span> <span style="color: #ff0000;">"Item 2"</span> <span style="color: #0000ff;">MESSAGE</span> <span style="color: #ff0000;">"Item 2"</span><br /> <span style="color: #0000ff;">ENDMENU</span> <br /> <span style="color: #0000ff;">ENDMENU</span></div>[/code:29972coe]
[img:29972coe]http://www.sitasoft.net/fivewin/screen/menu2010_1.png[/img:29972coe]
[img:29972coe]http://www.sitasoft.net/fivewin/screen/menu2010_2.png[/img:29972coe]
MessageBar: only add 2010 to command
[code=fw:29972coe]<div class="fw" id="{CB}" style="font-family: monospace;">SET <span style="color: #0000ff;">MESSAGE</span> <span style="color: #0000ff;">OF</span> ::<span style="color: #000000;">oWnd</span> <span style="color: #0000ff;">TO</span> <span style="color: #ff0000;">"Testing Class RibbonBar Style 2010 and Message Bar 2010 colors"</span> ;<br /> <span style="color: #0000ff;">CENTERED</span> CLOCK KEYBOARD <span style="color: #000000;">2010</span></div>[/code:29972coe]
[img:29972coe]http://www.sitasoft.net/fivewin/screen/msgbar_2010.png[/img:29972coe] |
2010 style | Sample
[url:af3mhwvh]http://www.sitasoft.net/fivewin/samples/rb2010.zip[/url:af3mhwvh] |
2010 style | Daniel,
Thank you. Great news!!!.
What about Buttonbmp and Skinbuttons?
Also. in your sample, I click con Archivo and I get an error:
[code=fw:ov5qkh39]<div class="fw" id="{CB}" style="font-family: monospace;">Application<br />===========<br /> Path and <span style="color: #0000ff;">name</span>: <span style="color: #000000;">C</span>:\Users\REPC~<span style="color: #000000;">1</span>\AppData\<span style="color: #00C800;">Local</span>\Temp\Rar$EX00<span style="color: #000000;">.466</span>\ribbon.exe <span style="color: #000000;">(</span><span style="color: #000000;">32</span> bits<span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">Size</span>: <span style="color: #000000;">2</span>,<span style="color: #000000;">035</span>,<span style="color: #000000;">712</span> bytes<br /> Time <span style="color: #0000ff;">from</span> start: <span style="color: #000000;">0</span> hours <span style="color: #000000;">0</span> mins <span style="color: #000000;">1</span> secs <br /> Error occurred <span style="color: #00C800;">at</span>: <span style="color: #000000;">05</span>/<span style="color: #000000;">21</span>/<span style="color: #000000;">11</span>, <span style="color: #000000;">13</span>:<span style="color: #000000;">12</span>:<span style="color: #000000;">37</span><br /> Error description: <span style="color: #000000;">Error</span> BASE/<span style="color: #000000;">1004</span> No exported <span style="color: #00C800;">method</span>: <span style="color: #000000;">HIDE</span><br /> Args:<br /> <span style="color: #000000;">[</span> <span style="color: #000000;">1</span><span style="color: #000000;">]</span> = U <br /><br />Stack Calls<br />===========<br /> Called <span style="color: #0000ff;">from</span>: => HIDE<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">ribbon</span>.prg => <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TAPPLICATION_BACKSTAGE<span style="color: #000000;">(</span><span style="color: #000000;">522</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\prg\TRIBBON.PRG => TRIBBONBAR:<span style="color: #000000;">BACKSTAGE</span><span style="color: #000000;">(</span><span style="color: #000000;">788</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">ribbon</span>.prg => <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TAPPLICATION_BUILDRIBBON<span style="color: #000000;">(</span><span style="color: #000000;">245</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\prg\TRIBBON.PRG => TRIBBONBAR:<span style="color: #000000;">SETOPTION</span><span style="color: #000000;">(</span><span style="color: #000000;">1002</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\prg\TRIBBON.PRG => TRIBBONBAR:<span style="color: #000000;">LBUTTONDOWN</span><span style="color: #000000;">(</span><span style="color: #000000;">881</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\source\classes\CONTROL.PRG => TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span><span style="color: #000000;">1492</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\prg\TRIBBON.PRG => TRIBBONBAR:<span style="color: #000000;">HANDLEEVENT</span><span style="color: #000000;">(</span><span style="color: #000000;">1030</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\prg\<span style="color: #0000ff;">WINDOW</span>.PRG => _FWH<span style="color: #000000;">(</span><span style="color: #000000;">3428</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: => WINRUN<span style="color: #000000;">(</span><span style="color: #000000;">0</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: .\prg\<span style="color: #0000ff;">WINDOW</span>.PRG => TWINDOW:<span style="color: #0000ff;">ACTIVATE</span><span style="color: #000000;">(</span><span style="color: #000000;">992</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">ribbon</span>.prg => TAPPLICATION:<span style="color: #000000;">RUN</span><span style="color: #000000;">(</span><span style="color: #000000;">70</span><span style="color: #000000;">)</span><br /> Called <span style="color: #0000ff;">from</span>: <span style="color: #000000;">ribbon</span>.prg => MAIN<span style="color: #000000;">(</span><span style="color: #000000;">19</span><span style="color: #000000;">)</span><br /><br />System<br />======<br /> CPU type: <span style="color: #000000;">Pentium</span><span style="color: #000000;">(</span>R<span style="color: #000000;">)</span> Dual-Core CPU E5500 @ <span style="color: #000000;">2</span>.80GHz <span style="color: #000000;">2800</span> Mhz<br /> Hardware memory: <span style="color: #000000;">1920</span> megs<br /><br /> Free System resources: <span style="color: #000000;">90</span> %<br /> GDI resources: <span style="color: #000000;">90</span> %<br /> User resources: <span style="color: #000000;">90</span> %<br /><br /> Compiler version: <span style="color: #000000;">Harbour</span> <span style="color: #000000;">2.1</span>.0rc2 <span style="color: #000000;">(</span>Rev. <span style="color: #000000;">16334</span><span style="color: #000000;">)</span><br /> Windows version: <span style="color: #000000;">6.1</span>, Build <span style="color: #000000;">7600</span> <br /><br /> Windows total applications running: <span style="color: #000000;">4</span><br /> <span style="color: #000000;">1</span> <br /> <span style="color: #000000;">2</span> AutoComplete<br /> <span style="color: #000000;">3</span> SysFader<br /> <span style="color: #000000;">4</span> <span style="color: #00C800;">Default</span> IME<br /> <br /> Procedure Type Value<br /> ==========================<br /> HIDE<br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">O</span> <span style="color: #00C800;">Class</span>: <span style="color: #000000;">ERROR</span><br /> <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TAPPLICATION_BACKSTAGE<br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">U</span> <br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">0</span><br /> TRIBBONBAR:<span style="color: #000000;">BACKSTAGE</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">O</span> <span style="color: #00C800;">Class</span>: <span style="color: #000000;">TRIBBONBAR</span><br /> <span style="color: #000000;">(</span>b<span style="color: #000000;">)</span>TAPPLICATION_BUILDRIBBON<br /> TRIBBONBAR:<span style="color: #000000;">SETOPTION</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> Param <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">2</span><br /> TRIBBONBAR:<span style="color: #000000;">LBUTTONDOWN</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">2</span><br /> TCONTROL:<span style="color: #000000;">HANDLEEVENT</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">17</span><br /> Param <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">52</span><br /> Param <span style="color: #000000;">3</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">15</span><br /> TRIBBONBAR:<span style="color: #000000;">HANDLEEVENT</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">513</span><br /> Param <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> Param <span style="color: #000000;">3</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1114164</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">U</span> <br /> _FWH<br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">513</span><br /> Param <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> Param <span style="color: #000000;">3</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1114164</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">O</span> <span style="color: #00C800;">Class</span>: <span style="color: #000000;">TRIBBONBAR</span><br /> WINRUN<br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1114164</span><br /> Param <span style="color: #000000;">2</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">513</span><br /> Param <span style="color: #000000;">3</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1</span><br /> Param <span style="color: #000000;">4</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">1114164</span><br /> Param <span style="color: #000000;">5</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">2</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">O</span> <span style="color: #00C800;">Class</span>: <span style="color: #000000;">TRIBBONBAR</span><br /> TWINDOW:<span style="color: #0000ff;">ACTIVATE</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">N</span> <span style="color: #000000;">918886</span><br /> TAPPLICATION:<span style="color: #000000;">RUN</span><br /> Param <span style="color: #000000;">1</span>: <span style="color: #000000;">C</span> <span style="color: #ff0000;">"MAXIMIZED"</span><br /> Param <span style="color: #000000;">2</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">3</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">4</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">5</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">6</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">7</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">8</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">9</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">10</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">11</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">12</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">13</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">14</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">15</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">16</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">17</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">18</span>: <span style="color: #000000;">U</span> <br /> Param <span style="color: #000000;">19</span>: <span style="color: #000000;">U</span> <br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">1</span>: <span style="color: #000000;">O</span> <span style="color: #00C800;">Class</span>: <span style="color: #000000;">TWINDOW</span><br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">2</span>: <span style="color: #000000;">U</span> <br /> <span style="color: #00C800;">Local</span> <span style="color: #000000;">3</span>: <span style="color: #000000;">U</span> <br /> MAIN<br /><br />Linked RDDs<br />===========<br /> DBF<br /> DBFFPT<br /> DBFBLOB<br /> DBFNTX<br /><br />DataBases in use<br />================<br /><br />Classes in use:<br />===============<br /> <span style="color: #000000;">1</span> ERROR<br /> <span style="color: #000000;">2</span> HBCLASS<br /> <span style="color: #000000;">3</span> HBOBJECT<br /> <span style="color: #000000;">4</span> TAPPLICATION<br /> <span style="color: #000000;">5</span> TWINDOW<br /> <span style="color: #000000;">6</span> TMENU<br /> <span style="color: #000000;">7</span> TMENUITEM<br /> <span style="color: #000000;">8</span> TBRUSH<br /> <span style="color: #000000;">9</span> TFONT<br /> <span style="color: #000000;">10</span> TCONTROL<br /> <span style="color: #000000;">11</span> TRIBBONBAR<br /> <span style="color: #000000;">12</span> TRPANEL<br /> <span style="color: #000000;">13</span> TBACKSTAGE<br /> <span style="color: #000000;">14</span> TBACKSTAGEOPTION<br /> <span style="color: #000000;">15</span> TRBGROUP<br /> <span style="color: #000000;">16</span> TRBTN<br /> <span style="color: #000000;">17</span> TMSGBAR<br /> <span style="color: #000000;">18</span> TRECT<br /> <span style="color: #000000;">19</span> TMSGITEM<br /> <span style="color: #000000;">20</span> TTIMER<br /> <span style="color: #000000;">21</span> TREG32<br /><br />Memory Analysis<br />===============<br /> <span style="color: #000000;">266</span> <span style="color: #00C800;">Static</span> variables<br /><br /> Dynamic memory consume:<br /> <span style="color: #000000;">Actual</span> Value: <span style="color: #000000;">0</span> bytes<br /> Highest Value: <span style="color: #000000;">0</span> bytes<br /></div>[/code:ov5qkh39] |
2010 style | Hello
yes is a mistake in sample, no in source code... i'll fix and upload the new sample |
2010 style | Thank you very much for quick support and reaction.
What about Buttonbmp and Skinbuttons?.
<!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) --> |
2010 style | que tal Daniel,
comp puedo ponerle un degradado a una message bar?
salu2
paco |
2010 style | Francisco
El nuevo estilo estara disponible en la proxima version de fivewin... <!-- s:-D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":-D" title="Very Happy" /><!-- s:-D --> |
2010 style | [quote="ukservice":1e65qm0r]Thank you very much for quick support and reaction.
What about Buttonbmp and Skinbuttons?.
[/quote:1e65qm0r]
what do you know about it?
you can build your own skin, is very easy with skinbutton |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.