topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
executar uma function antes do ERRSYSW ? | Pessoal, é possível quando ocorrer um erro no sistema, executar uma função antes de ir para o ERRSYSW?
Grato |
executar uma function antes do ERRSYSW ? | FWHISHOW Yo lo hago asi:
Esto esta en la linea 80 a 85
ERRORBLOCK( {|e| MsgStop( ErrorMessage(e) + " desde ErrorSys, linea: " + ;
STR( PROCLINE( 1 ), 3 ) ),[b:1i0yhg36]Reg_Activ("SALIDA ANORMAL DEL SISTEMA"),Online(.F.)[/b:1i0yhg36], __quit() } )
cErrorLog += "Descripción de la Applicación:" + CRLF
cErrorLog += "___________________________________________________" + CRLF + CRLF
cErrorLog += "Ubicación y Nombre: " + GetModuleFileName( GetInstance() )
y esto va en donde activa el dialogo con el stak del fallo creo que lina 357:
ACTIVATE DIALOG oDlg CENTERED ON INIT (Sonidos("ERROR"),;
Reg_Activ("SALIDA ANORMAL DEL SISTEMA"),;
Online(.F.),;
DBCOMMITALL(),;
DBUNLOCKALL(),;
DBCLEARREL(),;
DBCLOSEALL(),;
SYSREFRESH())
Con mi aplicaciòn funciona..
Tengo unas cuantas modificaciones hechas para guardar en una base de datos el fallo completo y una imagen creada justo antes de tronar la aplicacion..
Espero te sea de Utilidad.. |
executar uma function antes do ERRSYSW ? | muito obrigado! |
executar uma function antes do ERRSYSW ? | cuatecatl82,
Por favor puede muestrar las funciones:
REG_ACTIV()
Y
ONLINE()
Y
SONIDOS()
Cual sus retornos?
Best regards, saludos y Gracias de Antemano. |
executar uma function antes do ERRSYSW ? | Ok. ando fuera de la ciudad, en cuanto regrese me comunico contigo via mail.. y con mucho gusto te ayudo..
Saludos.. |
executar uma function antes do ERRSYSW ? | [quote="cuatecatl82":3jhmjom9]Ok. ando fuera de la ciudad, en cuanto regrese me comunico contigo via mail.. y con mucho gusto te ayudo..
Saludos..[/quote:3jhmjom9]
Gracias amigo, aguardo.
Creo sea de grand utilidad esta rotina completa a todos los fivewinners del mundo.
Regards, saludos.
Email: <!-- e --><a href="mailto:kmt_karinha@pop.com.br">kmt_karinha@pop.com.br</a><!-- e --> |
executar uma function antes do ERRSYSW ? | Ok va, para toda la comunidad: <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) -->
Esta es una modificacion de la funcion ERRORSYS.PRG modificada, para que garde un registro en una DBF detallada de todos los errores generados por la aplicacion, contiene el codigo fuente de otras funciones necesarias para el uso completo de esta modificacion.
Cabe destacar que el nombre de la imagen guardada nunca sera repetida, ya que controlo esto dentro de la funcion de guardar imagen..
Solo hace falta anexar los archivos a su aplicacion: <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: -->
ERRORSYS.PRG que el el que genera toda la informacion y las imagenes
ERRORES.PRG que permite la vozualizacion de las imagenes generadas..
Este es el enlace para bajarlo... Si alguien gusta modificar algo que sea importante, lo puede hacer..
espero sus comentario y criticas al respecto... Que lo disfruten..
<!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
[url:d2tn0obc]http://rapidshare.com/files/86274323/ErrorSys.zip.html[/url:d2tn0obc][/url] |
executar uma function antes do ERRSYSW ? | Perfecto, amigo.
Muchas gracias. |
executar uma function antes do ERRSYSW ? | Daniel:
Te felicito, estan muy buenas las modificaicones que le hiciste al errsysw.prg; ya lo implemente en mi sistema y funciona de mil maravillas..
Le agregue un button con una función (sacada del foro ingles) que permite enviar por correo electrónico la base de datos "error.dbf", aca va el codigo...
FUNC correo()
sendMail({"soporte@hymplus.com"},"Envio historial de Errores",;
"Aca puede escribir el mensaje", {"\HYM32\EXE\ERRORES\ERROR.DBF"})
RETURN NIL
FUNC sendMail(aTo,cSubject,cMsg,aFiles)
local oMail
default cSubject:=""
DEFINE MAIL oMail SUBJECT OemToAnsi(cSubject) TEXT OemToAnsi(cMsg) FROM USER
AADD( oMail:aRecipients, aTo )
IF aFiles!=nil
oMail:aFiles:=ACLONE(aFiles)
ENDIF
ACTIVATE MAIL oMail
IF oMail:nRetCode#0
MsgAlert("El mensaje no pudo ser enviado!","Alerta")
ENDIF
RETURN NIL |
executar uma function antes do ERRSYSW ? | MauroArevalo:
Un saludo de antemano y gracias por tus comentarios <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> , me da gusto que pueda aportar algo a toda la comunidad que me ha apoyado, gracias tambien por tu aportación, sabia que algo más faltaba por hacerle y que bueno que ya surgio una idea más..
Un abrazo desde México y que lluevan las ideas y las aportaciones..
Estoy para servirte si en algo mas te puedo ayudar..
I.S.C. Víctor Daniel Cuatécatl León.
<!-- w --><a class="postlink" href="http://www.soldisoft.unlugar.com">www.soldisoft.unlugar.com</a><!-- w -->
<!-- w --><a class="postlink" href="http://www.sisa,unlugar.com">www.sisa,unlugar.com</a><!-- w --> |
execute Procedure in Oracle...? | To all
I want to execute a procedure or function in oracle.
any one can posting sample here...?
TQ.
Mulyadi. |
execute Procedure in Oracle...? | Halooooooo........
I create a Procedure or Function or Sequence in Oracle,
but i dont know how to execute it with FWH.....
Muyadi. |
execute Procedure in Oracle...? | I assume you are using ADO
Simple stored procedure without paramters:
[code=fw:2ve1ka8u]<div class="fw" id="{CB}" style="font-family: monospace;"> oCmd := TOleAuto<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ADODB.Command"</span> <span style="color: #000000;">)</span><br /> WITH OBJECT oCmd<br /> :<span style="color: #000000;">ActiveConnection</span> := oCn <span style="color: #B900B9;">// Connection object already created</span><br /> :<span style="color: #000000;">CommandText</span> := <StoredProcName><br /> :<span style="color: #000000;">CommandType</span> := adCmdStoredProc <span style="color: #B900B9;">// Value is 4</span><br /> END<br /> <span style="color: #B900B9;">// Assuming there are no paramters for the stored procedure</span><br /> <br /> <span style="color: #B900B9;">// Execution</span><br /> oCmd:<span style="color: #000000;">Execute</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> </div>[/code:2ve1ka8u]
I recommend reading ADO in w2schools.com |
execute Procedure in Oracle...? | Thanks Mr Nages.
I try it and i posting the result later... |
execute a function when is execute an app | I wish execute a function when is execute an app
I explain you
The coach driver has a program to make the tickets to the passengers.
If a passenger already has a subscription ie a ticket where a subscription is described and has a bar code.
I want the driver having the application open and ready to make the tickets have the ability to read the bar code of the passenger's subscription.
How can I do ? |
execute a windows function | How I can call the function OpenWith of the Windows (in this case Win xp professional)
[img:36yi27w5]http://www.eoeo.it/wp-content/uploads/2015/06/apricon.jpg[/img:36yi27w5]
I try with ShellExecute(0, nil, cfile) but not run ok |
execute a windows function | Silvio,
Have you looked for ShellExecute examples on these forums ? |
execute a windows function | Silvio,
[code=fw:m8lowau5]<div class="fw" id="{CB}" style="font-family: monospace;"><br />ShellExecute<span style="color: #000000;">(</span><span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #ff0000;">"test.jpg"</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">)</span><br /> </div>[/code:m8lowau5]
-Ramesh Babu |
execute a windows function | Dear Antonio,
I tried all sample I found in this forum
Dear Ramesh Babu,
it not run, it open the test.jpg with the last Exe opened with a jpg file
I wish open the OpenWith list dialof of Window |
execute a windows function | Hello,
On Vista there is [url=https://msdn.microsoft.com/en-us/library/windows/desktop/bb762234(v=vs.85).aspx:bvob25ii]SHOpenWithDialog[/url:bvob25ii]
For Xp, according with:
[url:bvob25ii]http://stackoverflow.com/questions/22177851/shopenwithdialog-analog-for-windows-xp[/url:bvob25ii] you should call:
[code=fw:bvob25ii]<div class="fw" id="{CB}" style="font-family: monospace;">ShellExecute<span style="color: #000000;">(</span>hWnd, <span style="color: #ff0000;">"open"</span>, <span style="color: #ff0000;">"Rundll32.exe"</span>, <span style="color: #ff0000;">"shell32.dll,OpenAs_RunDLL "</span>+cFileName, <span style="color: #000000;">0</span>, <span style="color: #000000;">5</span><span style="color: #B900B9;">/*SW_SHOW*/</span><span style="color: #000000;">)</span></div>[/code:bvob25ii]
Regards,
Antonino |
execute a windows function | thank
and with Winseven run the same ? |
execute a windows function | on Windows Seven 64 bit this command not run and change the association file and then not open the file |
exeinfo - Packer compressor detector / unpack info / inter | Good afternoon,
another tool for exes.
[url:1mjrmm31]http://exeinfo.atwebpages.com/[/url:1mjrmm31]
Best regards |
exemplo MAKE | Alguem
teria um exemplo usando HBMAKE com fwppc ???
ou outro make
com mais de 2 fontes de programa ?????????
test1.prg
test2.prg |
exemplo MAKE | Luiz,
Tienes un ejemplo de make con múltiples ficheros en:
FWPPC\makes\fwcemake.zip |
exetype | Hi all
I am Richard and l work with clipper 5.3, bilnker 4.1 fw 2.1 and l want to make
exetype 95, 98, nt or 2000. It just work with 3.1. What canl do
When l try with 95 or 95 the system told me this application is not take in charge by windows
When l try with 2000 relesse is not enough recently need windows 3.0 or more
When l try with NT blinker told me that nt does not exist |
exetype | Richard,
Blinker LNK exetype windows 3.1 should work on all windows versions. What error do you get on those windows versions ? |
exetype | [quote="rwilson":2katfe8x]Hi all
I am Richard and l work with clipper 5.3, bilnker 4.1 fw 2.1 and l want to make
exetype 95, 98, nt or 2000. It just work with 3.1. What canl do
When l try with 95 or 95 the system told me this application is not take in charge by windows
When l try with 2000 relesse is not enough recently need windows 3.0 or more
When l try with NT blinker told me that nt does not exist[/quote:2katfe8x]
l try this with window 98 xp nd 2003 |
exetype | Richard,
Please make a ZIP file with your EXE and email it to me, thanks |
exetype | [quote="rwilson":jmg2hi23][quote="rwilson":jmg2hi23]Hi all
I am Richard and l work with clipper 5.3, bilnker 4.1 fw 2.1 and l want to make
exetype 95, 98, nt or 2000. It just work with 3.1. What canl do
When l try with 95 or 95 the system told me this application is not take in charge by windows
When l try with 2000 relesse is not enough recently need windows 3.0 or more
When l try with NT blinker told me that nt does not exist[/quote:jmg2hi23]
l try this with window 98 xp nd 2003
I try it with tutor08 and it dosen't function lsen you a zip file of the exe
l send it to you e fow days agoe did you receive it
[/quote:jmg2hi23][/list] |
exetype | Richard,
I have not received your file, please zip it and resend it again, thanks |
exetype | send me a e-mail at <!-- e --><a href="mailto:wilsonrw@sympatico.ca">wilsonrw@sympatico.ca</a><!-- e --> and l will reply you with the exe |
exetype | done <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
exetype | l send you a zip file 18 april 2007 at 9:07 am |
exetype | Richard,
Please resend it or upload it to <!-- w --><a class="postlink" href="http://www.rapidshare.com">www.rapidshare.com</a><!-- w --> and provide a download url, thanks
Maybe our mail server took is as spam |
exetype | l resend the zip file on 24/04/2007 at 9.17 am l am waiting for your answer tanks |
exetype | Richard,
We have emailed you our exetype.com utility. Simply do:
exetype.com YourApp.exe 4.0
and YourApp.exe will be modified and will properly run on Win XP, etc. |
exibir imagem no FWPPC | Amigos estava precisando de exibir imagens (produtos) no sistema FWPPC. porem me parece que a sintax é diferente, pois dá erro se coloco a linha abaixo no PRG
REDEFINE IMAGE oIMG_01_APLIAR ID 4001 OF oDlg_CD_ZOOM FILE IMG_01_APLIAR adjust UPDATE
Quando Coloco o código abaixo, dá erro.
MESTOQPDA.obj : error LNK2001: unresolved external symbol HB_FUN_TIMAGE
MESTOQPDA.exe : fatal error LNK1120: 1 unresolved externals
Postado no forum BRASIL
[url:2q69i92z]http://www.fivewin.com.br/forum/topic.asp?TOPIC_ID=17111[/url:2q69i92z] |
exibir imagem no FWPPC | Informais,
Tienes que usar BITMAP en vez de IMAGE pues no hemos encontrado aún una versión de FreeImage.dll para Pocket PC. |
exibir imagem no FWPPC | ok, obrigado por responder, mas é que preciso exibir FOTOS de produtos em JPG..
A CLASSE QUE VOCE FALOU FUNCIONA COM JPG |
exibir imagem no FWPPC | BITMAP somente funciona BMP |
exibir imagem no FWPPC | é, mas ai complicou, pois o cliente deve ter uns 3.000 PRODUTOS, imagina isso tudo em BMP, deve lotar o pocket pc.... |
exibir imagem no FWPPC | Se nao me engano tem a tal de TS lib para pocket que possibilita o uso de jpg
de uma olhada aqui no forum internacional, que acho que vc acha ela. |
exibir imagem no FWPPC | Informais,
Nosotros tenemos una nueva Clase para FWPPC que permite mostrar casi todos los formatos gráficos más populares.
Vamos a intentar publicarla lo antes posible <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
exibir imagem no FWPPC | por favor assim que possivel me envie
<!-- e --><a href="mailto:informaisvrb@gmail.com">informaisvrb@gmail.com</a><!-- e -->
grato. |
exibir imagem no FWPPC | pot favor me envia no e-mail |
|
<!-- e --><a href="mailto:informaisvrb@gmail.com">informaisvrb@gmail.com</a><!-- e --> |
exibir imagem no FWPPC | Cuando esté disponible la anunciaremos en estos foros. |
exibir imagem no FWPPC | ok obrigado... |
exibir imagem no FWPPC | e ai amigos alguma novidade nessa classe.
Alias, a pergunta até está mudando, pois estamos agora é algo para ANDROID. |
existe alguna funcion para nombres largos | Hola buen día.Existe alguna funcion para crear archivos con nombres largos, ya que se tiene una aplicación en modo DOS, y se requiere poder crear estos archivos.Uso clipper 5.2 y blinker 5.3De antemano muchas gracias |
existe alguna funcion para nombres largos | Hola Gerardo,Revisa en \fw\samples\ las entradas siguientes:longname.prgtestlfn.prgtestlfn2.prgTambien puedes ver estas funciones en utilidades (FWBackup) de Bingen Ugaldebere.Espero que te sirva. |
existe alguna funcion que haga de sumatorio.....?? | Hola a todos...
Estaba buscando y no encuentro nada que me diga si se puede hacer un sumatorio directamente como en VFP, algo como SUM(), o por el contrario tengo que recorrerme todos los registros e ir sumándolos....
Saludos y gracias...
Elías Torres. |
existe alguna funcion que haga de sumatorio.....?? | He encontrado la solucion...no estaba mal encaminado
SUM VAL(articulos->precio) to total
Saludos.
Elías Torres. |
existe alguna funcion..... | que permita checar si hay o no un disquette colocado en el drive A???
de antemano muchas gracias. |
existe alguna funcion..... | Puedes tratar de hacer una llamada a Directory a la unidad A pero encerrandola en un Try Catch |
existe alguna funcion..... | Amigo Funciona assim
Dentro do Seu PRG, Voce chama a Funcao
Exemplo :
drive_ok("A:")
function drive_ok(adrive)
LOCAL nFreeBytes := 0, nTotalSize := 0, nTotalFree := 0
DRV = 0
IF T_FLOPY__ = 1
SetCurDrive( "A:" ) // Liga o Drive A:\
// Se Tiver Disquete no Drive A:\
If GetDiskFreeSpaceEx( "A:\", @nFreeBytes, @nTotalSize, @nTotalFree )
* MsgInfo( nFreeBytes )
* MsgInfo( nTotalSize )
* MsgInfo( nTotalFree )
Endif
// Se Nao Tiver Disquete no Drive A:\
DO WHILE .T.
If !GetDiskFreeSpaceEx( "A:\" )
If MsgYesNo("Não ha Disquete No Driver !" + chr(13) +;
" " + chr(13) +;
"Deseja Retentar ? " + chr(13) +;
" ",SISTEMA)
LOOP
DRV = 0
else
DRV = 0
EXIT
EndIf
ELSE
DRV = 1
EXIT
Endif
ENDDO
ELSE
DRV = 1
ENDIF
SetCurDrive( DRIVE_TR )
Return DRV
Espero Ter Ajudado !
Brasil Rumo ao HEXA (copa) |
existe un onclick en cada pesaña de folder o algo similar? | que tal todos! necesito hacer algo cada que seleccionen una pestaña. pero no he encontrado como, Saludos Gracias |
existe un onclick en cada pesaña de folder o algo similar? | [code:4nncgbla]
REDEFINE FOLDER oFld ID 101 ;
PROMPT "tab1","tab2","tab3";
DIALOGS "SATAB1", "SATAB2", "SATAB3" OF oDlg
oFld:bChange:={|| alert("pepe")}
[/code:4nncgbla] |
existe un onclick en cada pesaña de folder o algo similar? | [quote="Ricardo Ramirez E.":k0n03x6o][code:k0n03x6o]
REDEFINE FOLDER oFld ID 101 ;
PROMPT "tab1","tab2","tab3";
DIALOGS "SATAB1", "SATAB2", "SATAB3" OF oDlg
oFld:bChange:={|| alert("pepe")}
[/code:k0n03x6o][/quote:k0n03x6o]Necesito algo parecido, pero como hago para validar que pestaña es la que se selecciono..? necesito mas que todo para controlar niveles de seguridad de los usuarios... si es la pestaña (n) hasme tal cosa... Gracias... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
existe un onclick en cada pesaña de folder o algo similar? | oFld:bChange = { | nOption, nOldOption | ... }en donde nOption es la nueva opción seleccionada (su índice) y nOldOption la que estaba previamente seleccionada.ó directamente usando el comando:[code:eb5paiga]
REDEFINE FOLDER oFld ...
ON CHANGE MsgInfo( nOption, nOldOption )
[/code:eb5paiga] |
existe un onclick en cada pesaña de folder o algo similar? | [quote="Antonio Linares":1r90pwgy]oFld:bChange = { | nOption, nOldOption | ... }
en donde nOption es la nueva opción seleccionada (su índice) y nOldOption la que estaba previamente seleccionada.
ó directamente usando el comando:
[code:1r90pwgy]
REDEFINE FOLDER oFld ...
ON CHANGE MsgInfo( nOption, nOldOption )
[/code:1r90pwgy][/quote:1r90pwgy]Gracias Antonio, lo pruebo y aviso como me funciono, imagino que nOldOpcion es como para volver a la pestaña anterior y saber donde se esta antes de seleccionar la nueva..? si es asi....super...mejor control.. |
existe un onclick en cada pestaña del folder? o algo similar | que tal todos!necesito hacer algo cada que seleccionen una pestaña. pero no he encontrado como, SaludosGracias |
existe un onclick en cada pestaña del folder? o algo similar | [code:2kohczk0]
REDEFINE FOLDER oFld ID 101 ;
PROMPT "tab1","tab2","tab3";
DIALOGS "SATAB1", "SATAB2", "SATAB3" OF oDlg
oFld:bChange:={|| alert("pepe")}
[/code:2kohczk0] |
existe un tooltip para cada pestaña de folder? | eso. necesito poner una ayudaen cada pestaña de un folder, a ver si alguien tiene algo parecido.de antemano gracias |
existe un tooltip para cada pestaña de folder? | [quote="Miguel Salas":1zrkld10]eso. necesito poner una ayudaen cada pestaña de un folder, a ver si alguien tiene algo parecido.
de antemano gracias[/quote:1zrkld10]Prueba con.oFld:aDialogs[n]:cToolTip := "Pestaña 2" |
existe un tooltip para cada pestaña de folder? | Buen día,
Necesito poner un tooltip en cada pestaña del folder.
Intenté con lo clásico:
[code=fw:1aj5zgbx]<div class="fw" id="{CB}" style="font-family: monospace;">oFld:<span style="color: #000000;">aDialogs</span><span style="color: #000000;">[</span><span style="color: #000000;">2</span><span style="color: #000000;">]</span>:<span style="color: #000000;">cToolTip</span> := <span style="color: #ff0000;">"Esta es la Pestaña 2"</span></div>[/code:1aj5zgbx]
Pero no funciona.
¿Alguien lo solucionó?. ¿Se puede hacer de algún modo?.
Gracias <!-- s:D --><img src="{SMILIES_PATH}/icon_biggrin.gif" alt=":D" title="Very Happy" /><!-- s:D -->
Rolando |
expandir tree em xbrowse | com nKey nao consigo expandir o Tree? alguém sabe pq?
oBrw:bKeyDown := {|nKey| BrwKeyAtUs(nkey, oBrw) }
..
Static Function BrwKeyAtUs(nKey, oBrw)
If !oBrw:oTreeItem:lOpened .and. oBrw:oTreeItem:nLevel == 1
If nKey == VK_RETURN
oBrw:oTreeItem:Open()
oBrw:Refresh()
Endif
ElseIf oBrw:oTreeItem:lOpened .and. oBrw:oTreeItem:nLevel == 1
If nKey == VK_RETURN
oBrw:oTreeItem:Close()
oBrw:Refresh()
Endif
ElseIf oBrw:oTreeItem:nLevel == 2
If nKey == VK_RETURN
fToggle(oBrw)
Endif
Endif
Return nil |
expandir tree em xbrowse | resolvido
alterei por espaço VK_SPACE e funcionou |
expbuild routine | someone have expbuil.prg run okon sample there is a prg with no parts sources...thanks. |
expert of ADS and Harbour | Hello,
Please, who are the exports of ADS and Harbour?.
Thank you. |
expert of ADS and Harbour | Frank,
Thank you.
But using AIS via Internet it gives:
DbUseArea( .T., "ADSCDX", "C:\LUCAS\CONTA.DBF", "LUCAS" )
Error ADSCDX/5132 The specified database object name is not valid.: C:\LUCAS\CONTA.DBF |
expert of ADS and Harbour | Hello,
I have a problem with AIS and free tables.
I am able to use and work with DBFS and AIS when tables are
incorporated into a Data Dictorionary. There is no problem about that.
But in our software we have so many companies and each one has a
specific folder with all the dbfs and indexes (CUSTOMERS, INVOICES,
ITEMS, ...).
So that´s why I am looking to use free tables.
I am able to create a free table with dbcreate():
i := dbCreate( ("\\my ip:2400\lucas\newtable"),{ { "FNUMERO" ,
"N", 20, 0 }, ;
{ "FCODIGO" , "C", 20, 0 }, ;
{ "FPARCIAL2" , "N", 24, 10 } } )
Also, I am able to delete a file:
AdsDeleteFile("C:\LUCAS\ALBARAN1.DBF")
But [b:1r33pc5l]I can´t open the table [/b:1r33pc5l]in AIS as:
USE "C:\LUCAS\ALBARAN1" or USE "\\my ip:2400\LUCAS\ALBARAN1"
In both cases, I get:
Error ADSCDX/5132 The specified database object name is not valid.: C:
\LUCAS\ALBARAN1.DBF
At sybase forums, they said it is possible to use free tables via AIS.
In this post, Rene Flores says it is a bug and it worked as I pretend
in previous xHarbour builds (with xharbour 0.99.3 and previous):
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=6819">viewtopic.php?f=6&t=6819</a><!-- l -->
So, I am able to deal with free tables under AIS just with dbCreate
and AdsDeleteFile.
But USE or AdsCheckExistence fail.
Is there any solution to solve the bug?.
Thank you very much for your help.
Best regards,
Lucas |
expert of ADS and Harbour | Lucas,
no problem to open free tables.
If you are using xHarbour, you can even establish connections to different servers and open tables on these servers, see sample:
[code=fw:32wmfdvn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> <span style="color: #B900B9;">// ALS connection</span><br /> <span style="color: #00C800;">IF</span> AdsConnect60<span style="color: #000000;">(</span> cPathLoc, ADS_LOCAL_SERVER, <span style="color: #ff0000;">"ADSSYS"</span>,, <span style="color: #000000;">0</span>, @nHandLoc<span style="color: #000000;">)</span> == .F.<br /> nError:=AdsGetLastError<span style="color: #000000;">(</span>@cError<span style="color: #000000;">)</span><br /> ? cError<br /> <span style="color: #00C800;">return</span> <span style="color: #00C800;">NIL</span><br /> <span style="color: #00C800;">ENDIF</span><br /> <br /> <span style="color: #B900B9;">// Open a dbf</span><br /> <span style="color: #B900B9;">// DbUseArea( [<lNewArea>], [<cRddName>], <cDatabase>, [<cAlias>], [<lShared>], [<lReadonly>], [<cCodePage>], [<nConnection>] )</span><br /> DbUseArea<span style="color: #000000;">(</span> .T., <span style="color: #ff0000;">"ADSCDX"</span>, cPathLoc + <span style="color: #ff0000;">"PRMTR.DBF"</span>, <span style="color: #ff0000;">"prm_loc"</span>, .T.,,, nHandLoc <span style="color: #000000;">)</span><br /> <br /> <span style="color: #B900B9;">// ADS connection</span><br /> <span style="color: #00C800;">IF</span> AdsConnect60<span style="color: #000000;">(</span> cPathRem, ADS_REMOTE_SERVER, <span style="color: #ff0000;">"ADSSYS"</span>,, <span style="color: #000000;">0</span>, @nHandRem<span style="color: #000000;">)</span> == .F.<br /> nError:=AdsGetLastError<span style="color: #000000;">(</span>@cError<span style="color: #000000;">)</span><br /> ? cError<br /> <span style="color: #00C800;">return</span> <span style="color: #00C800;">NIL</span><br /> <span style="color: #00C800;">ENDIF</span><br /> <br /> <span style="color: #B900B9;">// Open a dbf</span><br /> DbUseArea<span style="color: #000000;">(</span> .T., <span style="color: #ff0000;">"ADSCDX"</span>, cPathRem + <span style="color: #ff0000;">"PRMTR.DBF"</span>, <span style="color: #ff0000;">"prm_rem"</span>, .T., , , nHandRem <span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// Check if ADS or ALS is running</span><br /> lADS := AdsConnect<span style="color: #000000;">(</span> cPathRem <span style="color: #000000;">)</span> <span style="color: #B900B9;">// -> .T.</span><br /> lADS := AdsConnect<span style="color: #000000;">(</span> cPathLoc <span style="color: #000000;">)</span> <span style="color: #B900B9;">// -> .F.</span><br /> </div>[/code:32wmfdvn] |
expert of ADS and Harbour | Lucas,
yes, you can't use AIS with free tables.
How you want to configure the 'The security level' without a database (Advantage Data Dictionary), so CATCH 21 <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
So, if you still want to use free tables via Internet, set up a VPN infrastructure and use ADS! |
expert of ADS and Harbour | hay que entender que la conexion en AIS se hace a traves de socket, por ello no funcionan algunas intrucciones que hacen referencia al disco duro
funciones como dbcreate, file no funcionaran, por que no tienes acceso directo al disco del server.
DbUseArea( .T., "ADSCDX", "C:\LUCAS\CONTA.DBF", "LUCAS" )
aca tu estas intentando usar una tabla alojada en c:\lucas lo cual no es posible.
es posible crear tablas en el servidor con la intruccion create table, o modificar tablas con alter tables, y en casos puntuales, crear tablas usando los drivers
dbfcdx o dbfntx para se usados de forma local en la pc cliente.
incluso tanto harbour como xharbour permiten usar tablas en memoria o tablas temporales,
[code=fw:2ubjxdme]<div class="fw" id="{CB}" style="font-family: monospace;"><br />dbcreate<span style="color: #000000;">(</span> <span style="color: #ff0000;">"mem:FICHA1"</span>, aEstructura , <span style="color: #ff0000;">"DBFCDX"</span> <span style="color: #000000;">)</span><br />...<br />HB_DBCreateTemp<span style="color: #000000;">(</span> <span style="color: #ff0000;">"FICHA1"</span>, aEstructura , <span style="color: #ff0000;">"DBFCDX"</span> <span style="color: #000000;">)</span><br /> </div>[/code:2ubjxdme]
salu2 |
expert of ADS and Harbour | [quote:12rw81go]
The location of the Internet-enabled Advantage Database Server must be specified. In addition, you must also configure your application to use the Advantage Internet Server server type. See Connecting Clients through the Internet to Advantage for details. Below are the three ways to specify the location of the Internet-enabled Advantage Database Server:
1. Use the server's IP address and Internet port number in the connection path string. The path can be specified as \\<ip address>:<ip port>\share\Dir\DataDictionary.add, where the <ip address> is the IP address where the Advantage Database Server is located, and the <ip port> is the Internet Port that the Advantage Database Server is listening.
Example of using the server’s IP address and Internet port number with the Advantage Client Engine API:
ulRetVal = AdsConnect60("\\\\193.69.232.1:6262\\share1\\test.add",
ADS_AIS_SERVER,
"User1",
"foobar",
ADS_DEFAULT,
&hConnect );
Similar functionality for specifying the IP address and port in the connection string/path is available in other Advantage clients. The details related to making a connection through the Internet to the Advantage Database Server from other clients can be found in the respective Advantage client Help documentation.
2. Specify the server name in the connection string. The path can be specified as \\<server name>\share\Dir\DataDictionary.add, where the <server name> is the name of a server specified in the ADS.INI file. The ADS.INI file specifies the actual IP address where the Advantage Database Server is located, and IP port that the Advantage Database Server is listening, that correspond to the specified server name. See Setting Up Your Clients Using ADS.INI for more specifics on information in the ADS.INI file.
Example of using a server name with the Advantage Client Engine API:
ulRetVal = AdsConnect60( "\\\\server1\\share1\\test.add",
ADS_AIS_SERVER,
"User1",
"foobar",
ADS_DEFAULT,
&hConnect );
3. Specify a drive letter in the connection string. The drive letter can be specified as <x:>\Dir\DataDictionary.add, where the <x:> is the name of a drive letter specified in the ADS.INI file. The ADS.INI file directly or indirectly specifies the actual IP address where the Advantage Database Server is located, as well as the IP port that the Advantage Database Server is listening, that correspond to the specified drive letter. See Setting Up Your Clients Using ADS.INI for more specifics on information in the ADS.INI file.
Example of using a drive letter with the Advantage Client Engine API:
ulRetVal = AdsConnect60( "x:\\test.add",
ADS_AIS_SERVER,
"User1",
"foobar",
ADS_DEFAULT,
&hConnect );
The Advantage Internet Server configuration can be specified in the ADS.INI file by adding a couple of sections.
The [Drives] section lists the complete UNC path to which a drive letter is mapped. If your client application uses drive letters, you will need to define the drive letter mappings.
Example:
[ Drives ]
R:=\\SERVER1\SHARE
For each Advantage Database Server you want to connect to, you will need to have a separate server-name entry.
Example:
[ <server name> ]
INTERNET_PORT=<the Internet port for the server>
INTERNET_IP=<the IP address for the Advantage Database Server>
Example:
[Drives]
Q:=\\serverA\testsys\
r:=\\serverB\data\
[serverA]
INTERNET_PORT=2001
INTERNET_IP=198.169.1.69
[serverB]
INTERNET_PORT=2002
INTERNET_IP=198.70.169.72
[/quote:12rw81go]
Taken from the ADS help file, finally, when you open the database with the USE command, use the network drive, must be the same that setup in the ini file
Regards
Edmundo |
expert of ADS and Harbour | Thanks for reply.
Edmundo, did you try yourself?.
Carlos, some commands work other not.
I am able to create a free table with dbcreate():
i := dbCreate( ("\\194.224.200.2:2400\lucas\newtable"),{ { "FNUMERO" ,
"N", 20, 0 }, ;
{ "FCODIGO" , "C", 20, 0 }, ;
{ "FPARCIAL2" , "N", 24, 10 } } )
Also, I am able to delete a file:
AdsDeleteFile("C:\LUCAS\ALBARAN1.DBF") or
or AdsDeleteFile("\\194.224.200.2:2400\LUCAS\ALBARAN1") works too.
But I can´t open the table in AIS as:
USE "C:\LUCAS\ALBARAN1" or USE "\\194.224.200.2:2400\LUCAS\ALBARAN1" or dbusearea()
In both cases, I get:
[b:afp7jj3d]Error ADSCDX/5132 [/b:afp7jj3d]The specified database object name is not valid.: C:
\LUCAS\ALBARAN1.DBF
At sybase forums, they said it is possible to use free tables via AIS.
In this post, Rene Flores says it is a [b:afp7jj3d]bug [/b:afp7jj3d]and it worked as I pretend
in previous xHarbour builds (with xharbour 0.99.3 and previous):
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=6819">viewtopic.php?f=6&t=6819</a><!-- l -->
This is a full working sample:
[code=fw:afp7jj3d]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"ads.ch"</span> <br /><span style="color: #00D7D7;">#define</span> CRLF Chr<span style="color: #000000;">(</span><span style="color: #000000;">13</span><span style="color: #000000;">)</span>+Chr<span style="color: #000000;">(</span><span style="color: #000000;">10</span><span style="color: #000000;">)</span> <br /><br /><br />Request ADS,ADSKeyCount,ADSKeyNo,OrdKeyCount,OrdKeyNo, <br />AdsGetRelKeyPos, AdsSetRelKeyPos <br /><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</span><br /> <br /><br /><span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <br /><br /><br /> <span style="color: #00C800;">local</span> aArray := <span style="color: #000000;">{</span><span style="color: #000000;">}</span>, cDbf, i <br /><br /><br /> RddRegister<span style="color: #000000;">(</span> <span style="color: #ff0000;">"ADS"</span>, <span style="color: #000000;">1</span> <span style="color: #000000;">)</span> <br /> RddSetDefault<span style="color: #000000;">(</span> <span style="color: #ff0000;">"ADS"</span> <span style="color: #000000;">)</span> <br /><br /><br /> <span style="color: #B900B9;">//setting up server type </span><br /> <span style="color: #B900B9;">// 1 = Local Server (no client / server) </span><br /> <span style="color: #B900B9;">// 2 = Remote Server </span><br /> <span style="color: #B900B9;">// 3 = Local + Remot </span><br /> <span style="color: #B900B9;">// 4 = Internet Server </span><br /> <span style="color: #B900B9;">// 5 = Local + Internet </span><br /> <span style="color: #B900B9;">// 6 = Remote+Internet </span><br /> <span style="color: #B900B9;">// 7 = Local + Remote + Internet , best choice </span><br /> adsSetServerType<span style="color: #000000;">(</span> <span style="color: #000000;">4</span> <span style="color: #000000;">)</span> <span style="color: #B900B9;">// ó </span><br />adsSetServerType<span style="color: #000000;">(</span> ADS_REMOTE_SERVER <span style="color: #000000;">)</span> <br /><br /><br /> <span style="color: #B900B9;">//setting up the file types </span><br /> <span style="color: #B900B9;">// 1 = DBFNTX </span><br /> <span style="color: #B900B9;">// 2 = DBFCDX </span><br /> <span style="color: #B900B9;">// 3 = ADSADI </span><br /> adsSetFileType<span style="color: #000000;">(</span> ADS_CDX <span style="color: #000000;">)</span> <br /><br /><br /> AdsRightsCheck<span style="color: #000000;">(</span>.F.<span style="color: #000000;">)</span> <br /><br /><br /> <span style="color: #00C800;">IF</span> AdsConnect60<span style="color: #000000;">(</span> <span style="color: #ff0000;">"<span style="color: #000000;">\\</span>194.224.200.2:2400<span style="color: #000000;">\l</span>ucas<span style="color: #000000;">\l</span>ucas.ADD"</span>, <br /><span style="color: #000000;">4</span> ,<span style="color: #ff0000;">"massimo"</span>,<span style="color: #ff0000;">""</span><span style="color: #000000;">)</span> <br /><br /><br /> <span style="color: #B900B9;">// MsgInfo("Esta ahora conectado al Sevidor AIS "+CRLF+CRLF+; </span><br /> <span style="color: #B900B9;">// "You are now connected to AIS Server","Bienvenido / </span><br />Welcome / Versión <span style="color: #ff0000;">"+ADSVersion()) <br /><br /><br /> ELSE <br /><br /><br /> alert("</span>Se ha rechazado la conexión al servidor AIS, por favor <br />intente mas tarde<span style="color: #ff0000;">"+CRLF+CRLF+; <br /> "</span>Conection <span style="color: #0000ff;">to</span> AIS <span style="color: #00C800;">Server</span> rejected, please, <span style="color: #00C800;">try</span> again later<span style="color: #ff0000;">") <br /><br /><br /> alert( "</span>Error:<span style="color: #ff0000;">"+cValtochar( AdsGetLastError() )+CRLF +; <br /> "</span>Servidor:<span style="color: #ff0000;">", "</span>Usuario<span style="color: #ff0000;">" ) <br /> QUIT <br /><br /><br /> ENDIF <br /><br /><br /> i := dbCreate( ("</span>\\<span style="color: #000000;">194.224</span><span style="color: #000000;">.200</span><span style="color: #000000;">.2</span>:<span style="color: #000000;">2400</span>\LUCAS\MASSIMO<span style="color: #ff0000;">"), <br />{ { "</span>FNUMERO<span style="color: #ff0000;">" , "</span>N<span style="color: #ff0000;">", 20, 0 }, ; <br /> { "</span>FCODIGO<span style="color: #ff0000;">" , "</span>C<span style="color: #ff0000;">", 20, 0 }, ; <br /> { "</span>FPARCIAL2<span style="color: #ff0000;">" , "</span>N<span style="color: #ff0000;">", 24, 10 } } ) <br /><br /><br /> Alert(i) // I GET .T. <br /><br /><br /> use <span style="color: #000000;">\\</span>194.224.200.2:2400<span style="color: #000000;">\L</span>UCAS<span style="color: #000000;">\M</span>ASSIMO.DBF new <br /> // i get ADSCDX/5132 The specified database object name is not <br />valid.: <span style="color: #000000;">\\</span>194.224.200.2:2400<span style="color: #000000;">\L</span>UCAS<span style="color: #000000;">\M</span>ASSIMO <br /><br /><br /> browse() <br /><br /><br /> alert(AdsDeleteFile("</span>\\<span style="color: #000000;">194.224</span><span style="color: #000000;">.200</span><span style="color: #000000;">.2</span>:<span style="color: #000000;">2400</span>\LUCAS\MASSIMO.dbf<span style="color: #ff0000;">") ) // <br />I GET .T. <br /><br /><br /> alert(AdsDeleteFile("</span>c:\lucas\oterfile.dbf<span style="color: #ff0000;">") ) // I GET .T. <br /><br /><br /> dbcloseall() <br /> quit <br /><br /><br />return nil <br /><br /></span></div>[/code:afp7jj3d]
So the behaviour of ADSRDD is inconsistent.
Best regards, |
expert of ADS and Harbour | lucas me interesa contactar contigo,
mi email es <!-- e --><a href="mailto:donboscocorp2@hotmail.com">donboscocorp2@hotmail.com</a><!-- e -->
salu2
carlos vargas |
expert of ADS and Harbour | Frank,
Thank you. Your idea works <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->.
I am having trouble with indexes and Data Dictorionary. I create the indexes as INDEX ON FIELD TO INDEXNAME but AIS ignores that.
I think working with a Data Dictionary you need to reindex using AdsReindex(), not INDEX ON command... I´m not sure,
Carlos, I sent you an email.
Thank you very much. |
expert of ADS and Harbour | EXECUTE PROCEDURE sp_CreateIndex90(
'caja',
'caja.adi',
'NUM_CIUD',
'num_ciud',
'',
2,
512,
'' ); |
expert of ADS and Harbour | Thank you, but I need to create the indexes on .prg side, not ARC.
I also need several indexes.
This code works perfect in ADS remote, local or DBCDX but not in AIS:
// Todas las series
INDEX ON FSERIE + StrZero (FNUMERO,20 ) TO (cMyPath+"FACTUR1") FOR !Deleted()
// Serie A, B
INDEX ON FSERIE + StrZero (FNUMERO,20 ) TO (cMyPath+"FACTURA") FOR (FSERIE="A") .AND. !Deleted()
INDEX ON FSERIE + StrZero (FNUMERO,20 ) TO (cMyPath+"FACTURB") FOR (FSERIE="B") .AND. !Deleted()
// Cobrada
INDEX ON FSERIE + StrZero (FNUMERO,20 ) TO (cMyPath+"FACTURC") FOR FCOBRADA="S" .AND. !Deleted()
INDEX ON FSERIE + StrZero (FNUMERO,20 ) TO (cMyPath+"FACTURN") FOR FCOBRADA!="S" .AND. !Deleted()
DbCloseAll()
Any clude, Thank you very much, |
expert of ADS and Harbour | Dear Lucas,
If you are using ADS all-the-way, you might as well consider the SQL related functions in creating your indexes..
Create a function to pass parameter similar to this:
[code=fw:2mrkzs6z]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br />cSQL := <span style="color: #ff0000;">"CREATE INDEX index1 ON table1 ( field1 ); "</span> + CRLF +;<br /> <span style="color: #ff0000;">"CREATE INDEX index2 ON table1 ( field2, field3 ); "</span><br />...<br /><span style="color: #00C800;">IF</span> AdsCreateSQLStatement<span style="color: #000000;">(</span> cAlias, ADS_ADT, hADSConnection <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">IF</span> <span style="color: #000000;">(</span>lOK := ADSExecuteSQLDirect<span style="color: #000000;">(</span> cSQL <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> ...<br /> <span style="color: #00C800;">ENDIF</span><br /><span style="color: #00C800;">ENDIF</span><br />... <br /> </div>[/code:2mrkzs6z]
just my two cents.. and dont forget to set AUTOOPEN and AUTORDER to .T.... |
expert of ADS and Harbour | Helo Frances,
Thank you very much for all your help.
The problem is the conditions on the indexes:
[code=fw:28cpio9d]<div class="fw" id="{CB}" style="font-family: monospace;"> <span style="color: #B900B9;">// Todas las series</span><br /> <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <span style="color: #000000;">(</span>FIELD->FNUMERO,<span style="color: #000000;">20</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">TO</span> FACTUR1 <span style="color: #00C800;">FOR</span> !Deleted<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #B900B9;">// Serie A, B y R</span><br /> <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <span style="color: #000000;">(</span>FIELD->FNUMERO,<span style="color: #000000;">20</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">TO</span> FACTUR2 <span style="color: #00C800;">FOR</span> FIELD->FSERIE=<span style="color: #ff0000;">"A"</span> .AND. !Deleted<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <span style="color: #000000;">(</span>FIELD->FNUMERO,<span style="color: #000000;">20</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">TO</span> FACTUR3 <span style="color: #00C800;">FOR</span> FIELD->FSERIE=<span style="color: #ff0000;">"B"</span> .AND. !Deleted<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <span style="color: #000000;">(</span>FIELD->FNUMERO,<span style="color: #000000;">20</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">TO</span> FACTUR4 <span style="color: #00C800;">FOR</span> FIELD->FSERIE=<span style="color: #ff0000;">"R"</span> .AND. !Deleted<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">// Cobrada</span><br /> <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <span style="color: #000000;">(</span>FIELD->FNUMERO,<span style="color: #000000;">20</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">TO</span> FACTUR5 <span style="color: #00C800;">FOR</span> FIELD->FCOBRADA=<span style="color: #ff0000;">"S"</span> .AND. !Deleted<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #0000ff;">INDEX</span> <span style="color: #0000ff;">ON</span> FIELD->FSERIE + StrZero <span style="color: #000000;">(</span>FIELD->FNUMERO,<span style="color: #000000;">20</span> <span style="color: #000000;">)</span> <span style="color: #0000ff;">TO</span> FACTUR6 <span style="color: #00C800;">FOR</span> FIELD->FCOBRADA!=<span style="color: #ff0000;">"S"</span> .AND. !Deleted<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> DbCloseAll<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> </div>[/code:28cpio9d]
Indexes are created. But they are not added in my order (FACTUR1, FACTUR2, ..). They are in a different order (2,6,4...):
<!-- m --><a class="postlink" href="http://imageshack.us/photo/my-images/189/errorads.png/">http://imageshack.us/photo/my-images/189/errorads.png/</a><!-- m -->
I also tried with no luck:
msgalert(AdsDDaddTable("FACTUR1", ".\idx\FACTUR1", "FACTUR1;FACTUR2;FACTUR3;FACTUR4;FACTUR5;FACTUR6" )) //, ".\idx\factur1;.\idx\factura"), "add table")
The order is still different, not FACTUR1, FACTUR2,....
So I don´t know what is wrong. |
expertos de ADS y Harbour | Hola,
¿Quienes son los expertos en ADS y Harbour?.
Muchas gracias. |
expertos de ADS y Harbour | Bueno no soy un guru pero conozco algo.
Slds |
expertos de ADS y Harbour | Nicanor... Gusto en saludarte ...
Quiero retomar este tema (ads remote):
Favor analizar este ejemplo
<!-- m --><a class="postlink" href="http://www.russoft-ltda.com/fivewin/ADSPR1.PRG">http://www.russoft-ltda.com/fivewin/ADSPR1.PRG</a><!-- m -->
Gracias |
expertos de ADS y Harbour | [quote="lucasdebeltran":1k7svdc8]Hola,
¿Quienes son los expertos en ADS y Harbour?.
Muchas gracias.[/quote:1k7svdc8]
Lucas... NO SERIA MAS EDUCADO PONER TU DUDA, a lo mejor no todos somos "expertos" pero igual te podriamos ayudar.
Creo que mal puesto el Topico y el mensaje.
¿ Cual es tu problema ?
¿ Has peguntado en el foro de ayuda de ADS ?
¿ Has preguntado en el foro de HARBOUR ? ( Si, me parece haberte visto por ahi )
Recuerda que este es el foro de la libreria FIVEWIN, y que "ocasionalmente" se responden preguntas sobre otros temas. |
expertos de ADS y Harbour | Adolfo,
Espero por favor no haber ofendido a nadie.
Claro que primero puse mis dudas en los foros de devzone.advantagedatabase.com, pero sin éxito <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( --> .
Tampoo quiero molestar aquí, aunque esta comunidad es extraordinaria para el tema del soporte y en estos foros se hayan resultas la mayoría de dudas con ADS y Harbour.
Actualmente, mi duda más grave es esta, que curiosamente ya le pasó a Carlos Mora:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?f=6&t=6819">viewtopic.php?f=6&t=6819</a><!-- l -->
Quiero acabar de nuevo dando las gracias al equipo de Fivetech y a la comunidad por toda la ayuda y el extraordinario soporte y asistencia que prestan en estos foros. Es una ayuda valiosísima.
Muchas gracias.
Un saludo,
Lucas |
expliquenme herencia en objetos. | Hola.
Años confundido. tengo estas clses:
[code=fw:3rspmc1s]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">class</span> Animal<br /> <span style="color: #00C800;">data</span> patas<br /> <span style="color: #00C800;">data</span> <span style="color: #0000ff;">color</span><br />end <span style="color: #00C800;">class</span><br /><br /><span style="color: #00C800;">class</span> perro <span style="color: #0000ff;">from</span> Animal<br /> <span style="color: #00C800;">data</span> nombre<br />end <span style="color: #00C800;">class</span><br /> </div>[/code:3rspmc1s]
Esa herencia es correcta?
gracias. |
expliquenme herencia en objetos. | Si, es correcta.
los objetos de la clase Animal tendran ::patas y :: color, los perros tendrán además un ::nombre.
¿Cual es tu duda específicamente? Hasta ahora todo bien <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) --> . |
explorer class of reyes | Can have an sample in a dialog with this class please ?
I try it but it not run
Help me |
explorerBar and Vistamenu together ? | it is possible a main window ( with Menu,buttonbar ) with explorerBar at left and vistamenu at right ?
[b:zvg3mllg]test [/b:zvg3mllg]
[code=fw:zvg3mllg]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /> <span style="color: #00C800;">function</span> Main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">local</span> oWnd, oExBar, oPanel1, oPanel2, oPanel3, oPanel4<br /> <span style="color: #00C800;">local</span> bClick := <span style="color: #000000;">{</span> | o | <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> o:<span style="color: #000000;">GetText</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /> <br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"FWH Class TExplorerBar"</span> <span style="color: #0000ff;">MDI</span><br /><br /><br /> oWnd:<span style="color: #000000;">SetSize</span><span style="color: #000000;">(</span> <span style="color: #000000;">350</span>, <span style="color: #000000;">600</span> <span style="color: #000000;">)</span><br /><br /> oExBar = TExplorerBar<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> oPanel1 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"One"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\p</span>eople.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel1:<span style="color: #000000;">lSpecial</span> = .T.<br /> oPanel1:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"First item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\a</span>dditem.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel1:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Second item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\c</span>opy.bmp"</span> <span style="color: #000000;">)</span><br /> <br /> oPanel2 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Two"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\c</span>ase.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel2:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"First item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\a</span>dddbf.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel2:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Second item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\d</span>elete0.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel2:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Third item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\e</span>nvelope.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel2:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Fourth item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\c</span>opy.bmp"</span> <span style="color: #000000;">)</span><br /><br /> oPanel3 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Three"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\g</span>raphics.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel3:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"First item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\a</span>dddbf.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel3:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Second item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\d</span>elete0.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel3:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Third item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\e</span>nvelope.bmp"</span> <span style="color: #000000;">)</span><br /> <br /> oPanel4 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Four"</span> <span style="color: #000000;">)</span><br /> oPanel4:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"First item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\a</span>dditem.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel4:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Second item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\c</span>opy.bmp"</span> <span style="color: #000000;">)</span><br /><br /><br /><br /> oVMenu := TVistaMenu<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #000000;">0</span>,oExBar:<span style="color: #000000;">nWidth</span><span style="color: #000000;">-50</span>, <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span>, oWnd <span style="color: #000000;">)</span><br /> oVMenu:<span style="color: #000000;">nColumns</span> := <span style="color: #000000;">1</span><br /> oVMenu:<span style="color: #000000;">nType</span> := <span style="color: #000000;">2</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Sistema y mantenimiento "</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage1.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Empezar a trabajar con windows"</span>,,;<br /> <span style="color: #000000;">{</span> || <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Sistema y mantenimiento"</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Hacer una copia de seguridad del equipo"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Item 1 Item 1"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ItemItem2 ItemItem2"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ItemItemItem3 ItemItemItem3"</span> <span style="color: #000000;">)</span><br /><br /><br /><br /> oWnd:<span style="color: #000000;">oRight</span> := oVMenu<br /><br /><br /><br /> oWnd:<span style="color: #000000;">oLeft</span> = oExBar<br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd<br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><br /> </div>[/code:zvg3mllg] |
explorerBar and Vistamenu together ? | Silvio,
VistaMenu NO funciona con MDI
Salu2, Ariel. |
explorerBar and Vistamenu together ? | and window normal ? |
explorerBar and Vistamenu together ? | En windows trabaja sin problema, en MDI no lo he probado, mira sample vistamn1.prg, saludos... <!-- s:shock: --><img src="{SMILIES_PATH}/icon_eek.gif" alt=":shock:" title="Shocked" /><!-- s:shock: --> |
explorerBar and Vistamenu together ? | SORRY joseluisysturiz and Ariel
[b:dbjgu6rl] WHY YOU NOT READ THE QUESTION BEFORE TO ANSWER ?[/b:dbjgu6rl]
I asked a test with explorerBar and Vistamenu together into a Main Window .... |
explorerBar and Vistamenu together ? | Silvio
they only tried to help you, please be more low with your actitud, Every day, more people simply do not read your questions.
whats is the problem with your code? for me look fine may be you have a internal logic problem... |
explorerBar and Vistamenu together ? | Silvio,
It is just a quick test :
[img:9jgwhp22]http://www.pflegeplus.com/pictures/vista1.jpg[/img:9jgwhp22]
[code=fw:9jgwhp22]<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 /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /><br /><span style="color: #B900B9;">//----------------------------------------------------------------------------//</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: #00C800;">local</span> oWnd, oExBar, oPanel1, oPanel2, oPanel3, oPanel4<br /> <span style="color: #00C800;">local</span> bClick := <span style="color: #000000;">{</span> | o | <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> o:<span style="color: #000000;">GetText</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /> <span style="color: #00C800;">local</span> uVar, oBrw, oVMenu<br /> <span style="color: #00C800;">local</span> aArray := <span style="color: #000000;">{</span> <span style="color: #000000;">{</span><span style="color: #ff0000;">"one"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"two"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"three"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"four"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"five"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span> <span style="color: #000000;">}</span><br /> <br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"FWH Class TExplorerBar"</span> <span style="color: #0000ff;">MDI</span><br /> <br /><span style="color: #B900B9;">// oWnd:SetSize( 350, 600 )</span><br /><span style="color: #B900B9;">// nTop, nLeft, nWidth, nHeight</span><br /> oExBar = TExplorerBar<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> , <span style="color: #000000;">500</span>, <span style="color: #000000;">200</span>, oWnd <span style="color: #000000;">)</span><br /><br /> oPanel1 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"One"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\p</span>eople.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel1:<span style="color: #000000;">lSpecial</span> = .T.<br /> oPanel1:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"First item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\a</span>dditem.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel1:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Second item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\c</span>opy.bmp"</span> <span style="color: #000000;">)</span><br /> <br /> oPanel2 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Two"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\c</span>ase.bmp"</span>, <span style="color: #000000;">200</span> <span style="color: #000000;">)</span><br /> @ <span style="color: #000000;">40</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">say</span> <span style="color: #ff0000;">"This a say"</span> <span style="color: #0000ff;">of</span> oPanel2 transparent <span style="color: #0000ff;">pixel</span><br /> @ <span style="color: #000000;">60</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">radio</span> uVar <span style="color: #0000ff;">prompt</span> <span style="color: #ff0000;">"This a radio"</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">25</span><br /> @ <span style="color: #000000;">90</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">COMBOBOX</span> uVar <span style="color: #0000ff;">ITEMS</span> <span style="color: #000000;">{</span> <span style="color: #ff0000;">"one"</span>, <span style="color: #ff0000;">"two"</span>, <span style="color: #ff0000;">"three"</span> <span style="color: #000000;">}</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">pixel</span><br /> @ <span style="color: #000000;">120</span>, <span style="color: #000000;">10</span> RBBTN <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Ribbon Btn"</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">25</span> border transparent <br /> @ <span style="color: #000000;">160</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">btnbmp</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"BtnBmp"</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">25</span> border <span style="color: #000000;">2007</span><br /> @ <span style="color: #000000;">40</span>, <span style="color: #000000;">120</span> <span style="color: #0000ff;">xbrowse</span> oBrw columns <span style="color: #000000;">{</span><span style="color: #000000;">1</span>,<span style="color: #000000;">2</span>,<span style="color: #000000;">3</span><span style="color: #000000;">}</span> array aArray <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">180</span>, <span style="color: #000000;">150</span><br /> oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><br />oVMenu := TVistaMenu<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #000000;">0</span>, oWnd:<span style="color: #000000;">nWidth</span> , <span style="color: #000000;">500</span>, <span style="color: #000000;">800</span>, oWnd <span style="color: #000000;">)</span><br /> oVMenu:<span style="color: #000000;">nColumns</span> := <span style="color: #000000;">1</span><br /> oVMenu:<span style="color: #000000;">nType</span> := <span style="color: #000000;">2</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Sistema y mantenimiento "</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage1.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Empezar a trabajar con windows"</span>,,;<br /> <span style="color: #000000;">{</span> || <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Sistema y mantenimiento"</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Hacer una copia de seguridad del equipo"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Item 1 Item 1"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ItemItem2 ItemItem2"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ItemItemItem3 ItemItemItem3"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Seguridad"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage2.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Buscar actualizaciones"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Dejar pasar un programa a través de Firewall de Windows"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Redes e Internet"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage3.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">lEnable</span> := .f.<br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Ver el estado y las tareas de red"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Configurar el uso compartido de archivos"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Hardware y sonido"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage4.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Reproducir un CD u otros archivos multimedia automáticamente"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Impresora"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Mouse"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Programas"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage5.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Desinstalar un programa"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar programas de inicio"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Equipo portatil"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage6.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar la configuración de la bateria"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Ajustar parametros de configuración de movilidad de uso frecuente"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cuentas de usuario"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage7.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar tipo de cuenta"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Opciones adicionales"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage12.png"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Apariencia y personalización"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage8.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar fondo de escritorio"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar la combinación de colores"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Ajustar la resolución de pantalla"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Reloj, idioma y región"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage9.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar teclados u otros métodos de entrada"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar el idioma para mostrar"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Accesibilidad"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage10.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Permitir que Windows sugiera parametros de configuración"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Optimizar la presentación visual"</span> <span style="color: #000000;">)</span><br /><br /><br /> oWnd:<span style="color: #000000;">oRight</span> := oVMenu<br /><br /><br /><br /> oWnd:<span style="color: #000000;">oLeft</span> = oExBar<br /><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">MAXIMIZED</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /> </div>[/code:9jgwhp22]
Best Regards
Uwe <!-- s:lol: --><img src="{SMILIES_PATH}/icon_lol.gif" alt=":lol:" title="Laughing" /><!-- s:lol: --> |
explorerBar and Vistamenu together ? | 1.when you press to maximized I see a space gray on the middle of the window
2. when I size the window I see the vistamenu go bach the explorerbar
the same errors I have on my test!!!!
I add also a splitter
@ 0, oExBar:nwidth+2 SPLITTER oSplit ;
VERTICAL _3DLOOK ;
PREVIOUS CONTROLS oExBar ;
HINDS CONTROLSoVMenu;
SIZE 4, oWnd:nHeight PIXEL ;
OF oWnd
SetParent( oSplit:hWnd, oWnd:hWnd )
ACTIVATE WINDOW oWnd MAXIMIZED
return nil |
explorerBar and Vistamenu together ? | [b:b6nawxnf] R I S O L V E D [/b:b6nawxnf]
[b:b6nawxnf]ONLY WHEN i RESIZE HE WINDOW ONLY THE eXPLORER IS RIGHT WHILE THE OVMENU RUN BAD[/b:b6nawxnf]
[code=fw:b6nawxnf]<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 /> <span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"xbrowse.ch"</span><br /> <span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Splitter.ch"</span><br /><br /><br /> <span style="color: #00C800;">Static</span> oWnd,oVMenu,oExBar<br /><br /> <span style="color: #B900B9;">//----------------------------------------------------------------------------//</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: #00C800;">local</span> oPanel1, oPanel2, oPanel3, oPanel4,oSplit<br /> <span style="color: #00C800;">local</span> bClick := <span style="color: #000000;">{</span> | o | <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> o:<span style="color: #000000;">GetText</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span><br /> <span style="color: #00C800;">local</span> uVar, oBrw<br /> <span style="color: #00C800;">local</span> aArray := <span style="color: #000000;">{</span> <span style="color: #000000;">{</span><span style="color: #ff0000;">"one"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"two"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"three"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"four"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span>,;<br /> <span style="color: #000000;">{</span><span style="color: #ff0000;">"five"</span>,time<span style="color: #000000;">(</span><span style="color: #000000;">)</span>,DATE<span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">}</span> <span style="color: #000000;">}</span><br /><br /> <span style="color: #0000ff;">DEFINE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">TITLE</span> <span style="color: #ff0000;">"FWH Class TExplorerBar"</span> <span style="color: #0000ff;">MDI</span><br /><br /><br /> oExBar = TExplorerBar<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span><span style="color: #000000;">0</span>, <span style="color: #000000;">0</span> , <span style="color: #000000;">300</span>, <span style="color: #000000;">200</span>, oWnd <span style="color: #000000;">)</span><br /><br /> oPanel1 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"One"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\p</span>eople.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel1:<span style="color: #000000;">lSpecial</span> = .T.<br /> oPanel1:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"First item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\a</span>dditem.bmp"</span> <span style="color: #000000;">)</span><br /> oPanel1:<span style="color: #000000;">AddLink</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Second item"</span>, bClick, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\1</span>6x16<span style="color: #000000;">\c</span>opy.bmp"</span> <span style="color: #000000;">)</span><br /><br /> oPanel2 = oExBar:<span style="color: #000000;">AddPanel</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Two"</span>, <span style="color: #ff0000;">"..<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\3</span>2x32<span style="color: #000000;">\c</span>ase.bmp"</span>, <span style="color: #000000;">200</span> <span style="color: #000000;">)</span><br /> @ <span style="color: #000000;">40</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">say</span> <span style="color: #ff0000;">"This a say"</span> <span style="color: #0000ff;">of</span> oPanel2 transparent <span style="color: #0000ff;">pixel</span><br /> @ <span style="color: #000000;">60</span>,<span style="color: #000000;">10</span> <span style="color: #0000ff;">radio</span> uVar <span style="color: #0000ff;">prompt</span> <span style="color: #ff0000;">"This a radio"</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">25</span><br /> @ <span style="color: #000000;">90</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">COMBOBOX</span> uVar <span style="color: #0000ff;">ITEMS</span> <span style="color: #000000;">{</span> <span style="color: #ff0000;">"one"</span>, <span style="color: #ff0000;">"two"</span>, <span style="color: #ff0000;">"three"</span> <span style="color: #000000;">}</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">100</span> <span style="color: #0000ff;">pixel</span><br /> @ <span style="color: #000000;">120</span>, <span style="color: #000000;">10</span> RBBTN <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"Ribbon Btn"</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">25</span> border transparent<br /> @ <span style="color: #000000;">160</span>, <span style="color: #000000;">10</span> <span style="color: #0000ff;">btnbmp</span> <span style="color: #0000ff;">PROMPT</span> <span style="color: #ff0000;">"BtnBmp"</span> <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">100</span>, <span style="color: #000000;">25</span> border <span style="color: #000000;">2007</span><br /> @ <span style="color: #000000;">40</span>, <span style="color: #000000;">120</span> <span style="color: #0000ff;">xbrowse</span> oBrw columns <span style="color: #000000;">{</span><span style="color: #000000;">1</span>,<span style="color: #000000;">2</span>,<span style="color: #000000;">3</span><span style="color: #000000;">}</span> array aArray <span style="color: #0000ff;">of</span> oPanel2 <span style="color: #0000ff;">pixel</span> <span style="color: #0000ff;">size</span> <span style="color: #000000;">180</span>, <span style="color: #000000;">150</span><br /> oBrw:<span style="color: #000000;">CreateFromCode</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><br /> oWnd:<span style="color: #000000;">oLeft</span> = oExBar<br /><br /><br /><br /><br /><br /><br /> <span style="color: #0000ff;">ACTIVATE</span> <span style="color: #0000ff;">WINDOW</span> oWnd <span style="color: #0000ff;">MAXIMIZED</span>;<br /> <span style="color: #0000ff;">ON</span> <span style="color: #0000ff;">INIT</span> <span style="color: #000000;">(</span>BuildVista<span style="color: #000000;">(</span> oWnd,oExBar<span style="color: #000000;">)</span><span style="color: #000000;">)</span><br /> <span style="color: #B900B9;">/* ON RESIZE( oVmenu:nWidth:=oWnd:nWidth-300,;<br /> oVmenu:nHeight:=oWnd:nHeight,;<br /> oVmenu:refresh())<br /> */</span><br /> <span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><br /><br /><span style="color: #00C800;">Function</span> BuildVista<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><br /><br /> oVMenu := TVistaMenu<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #000000;">0</span>, oExBar:<span style="color: #000000;">nwidth</span><span style="color: #000000;">+4</span> , oWnd:<span style="color: #000000;">nWidth</span><span style="color: #000000;">-300</span>, oWnd:<span style="color: #000000;">nHeight</span>, oWnd <span style="color: #000000;">)</span><br /> oVMenu:<span style="color: #000000;">nColumns</span> := <span style="color: #000000;">1</span><br /> oVMenu:<span style="color: #000000;">nType</span> := <span style="color: #000000;">2</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Sistema y mantenimiento "</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage1.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Empezar a trabajar con windows"</span>,,;<br /> <span style="color: #000000;">{</span> || <span style="color: #0000ff;">MsgInfo</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Sistema y mantenimiento"</span> <span style="color: #000000;">)</span> <span style="color: #000000;">}</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Hacer una copia de seguridad del equipo"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Item 1 Item 1"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ItemItem2 ItemItem2"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"ItemItemItem3 ItemItemItem3"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Seguridad"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage2.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Buscar actualizaciones"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Dejar pasar un programa a través de Firewall de Windows"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Redes e Internet"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage3.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">lEnable</span> := .f.<br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Ver el estado y las tareas de red"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Configurar el uso compartido de archivos"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Hardware y sonido"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage4.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Reproducir un CD u otros archivos multimedia automáticamente"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Impresora"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Mouse"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Programas"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage5.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Desinstalar un programa"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar programas de inicio"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Equipo portatil"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage6.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar la configuración de la bateria"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Ajustar parametros de configuración de movilidad de uso frecuente"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cuentas de usuario"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage7.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar tipo de cuenta"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Opciones adicionales"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage12.png"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Apariencia y personalización"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage8.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar fondo de escritorio"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar la combinación de colores"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Ajustar la resolución de pantalla"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Reloj, idioma y región"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage9.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar teclados u otros métodos de entrada"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Cambiar el idioma para mostrar"</span> <span style="color: #000000;">)</span><br /><br /> oItem := oVMenu:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Accesibilidad"</span>, <span style="color: #ff0000;">".<span style="color: #000000;">\.</span>.<span style="color: #000000;">\b</span>itmaps<span style="color: #000000;">\p</span>ngs<span style="color: #000000;">\i</span>mage10.png"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Permitir que Windows sugiera parametros de configuración"</span> <span style="color: #000000;">)</span><br /> oItem:<span style="color: #000000;">AddItem</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"Optimizar la presentación visual"</span> <span style="color: #000000;">)</span><br /><br /><br /> oWnd:<span style="color: #000000;">oRight</span> := oVMenu<br /><br /><br /><br /> @ <span style="color: #000000;">0</span>, oExBar:<span style="color: #000000;">nwidth</span><span style="color: #000000;">+2</span> SPLITTER oSplit ;<br /> <span style="color: #0000ff;">VERTICAL</span> _3DLOOK ;<br /> PREVIOUS CONTROLS oExBar ;<br /> HINDS CONTROLS oVMenu;<br /> <span style="color: #0000ff;">SIZE</span> <span style="color: #000000;">4</span>, oWnd:<span style="color: #000000;">nHeight</span> <span style="color: #0000ff;">PIXEL</span> ;<br /> <span style="color: #0000ff;">OF</span> oWnd<br /> SetParent<span style="color: #000000;">(</span> oSplit:<span style="color: #000000;">hWnd</span>, oWnd:<span style="color: #000000;">hWnd</span> <span style="color: #000000;">)</span><br /><br /><br /> <span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><br /><br /> </div>[/code:b6nawxnf] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.