topic stringlengths 1 63 | text stringlengths 1 577k ⌀ |
|---|---|
tree in a xbrowse (SOLVED) | Thank you very much Mr Rao. It worked perfectly
Regards |
tree leido desde mysql no me funciona | Hola.
Estoy haciendo esta prueba pero no me refresca el TREE, es solo una prueba. pueden decirme que tengo mal?
[code=fw:2rrt0fgr]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><span style="color: #00D7D7;">... |
tree level | Hi, all !
There is a ttreeview object of arbitrary nesting. How to find out which level is currently open ? |
tree level | oTree:GetSelected() --> oItem
oItem:Cargo // place here what you may need
Please review FWH\samples\classtre.prg, fiveres.prg |
tree level | Thanks for your help. |
tree level | [quote="Natter":a8v9spfk]Hi, all !
There is a ttreeview object of arbitrary nesting. How to find out which level is currently open ?[/quote:a8v9spfk]
Hi,
You can use
nLevel := oItem:ItemLevel |
tree level | oItem:nLevel |
tree level | Horizon, Rao thanks ! |
tree level | hello
i need know how many child have an item. how i can it? |
tree level | Gustavo,
Len( oItem:aItems ) |
tree parent hitem | Hola.
Necesito conocer el hitem del PARENT de un sub item
A
+----B
+----- C
+----D
cuando haga click en "C" que me diga el hitem de "B" o cuando haga click en "D" que me diga el hitem de "A"
he intentado pero nada. |
tree parent hitem | oItem:oParent:hItem |
tree xbrowse | Colegas, tengo un tree en un xbrowse y me gustaría que no se pudieran contraer las ramas. Estuve buscando en la clase algún método-data que me permita bloquear esta característica pero no emcuentro. Alguien tiene idea ? Muchas gracias.
Saludos |
tree y el gotop() | Hola.
quiero conocer el "hitem" del primer item de un tree. he intentado hacer
::oTree:gotop()
pero me dice
[quote:333q91p4] Error description: Error BASE/1004 Message not found: TTVITEM:GOTOP[/quote:333q91p4]
no se como moverme dentro de un tree <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="S... |
tree y el gotop() | En el árbol se hace así:
oTree:GoTop()
y en una rama del arbol:
oTree:Select( oItem:aItems[ 1 ] ) |
tree y scan | Por lo que vi en el foro, esto me devolveria en oItem el item correspondiente del que busco
[code=fw:1wttr0sn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> o:= ::<span style="color: #000000;">oTree</span>:<span style="color: #000000;">scan</span><span style="color: #000000;">(</span><span style... |
tree y scan | Estimado Gustavo,
::oTree:select(o) está devolviendo un valor lógico indicando si ha podido ó no seleccionarlo
y estás presuponiendo que devuelve un item <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
tree y scan | perfecto!
ahor entendi la tecnica.
gracias. |
treeview | Is there somewhere a template for creating a TreeView interface
where nodes can be added, deleted, renamed, and moved via drag and drop. Additionally, this template should provide methods to synchronize the node collection with a database.
Thanks in advance
Otto |
treeview | Otto,
We don't have such a complete sample. In fact, it is quite difficult to syncronize a tree with a database. The treeview control hasn't been developed by Microsoft with such capability. |
treeview | To bind treeview to a database I pass the record-ID with the text.
TestNode ID 345
TestNode Child ID 500
TestNode 2 ID 8555
TestNode Child ID 102333
TestNode Child ID 394949
Do you think there is a way to make the last characters of the nodetext invisible?
Thanks in adv... |
treeview | Otto,
When an item is inserted into a treeview a TV_INSERTSTRUCT struct is used (please review source\winapi\treeview.c).
The TV_INSERTSTRUCT contains a TV_ITEM structure and there you have a member, named lParam where you can store a 32 bits number. Similar like Clipper "cargo".
So you have to modify source\winapi... |
treeview | Then, given a TV_ITEM handle, you can retrieve its lParam value:
[code:b4w8xn73]
HB_FUNC( TVIPARAM ) // hItem --> nLParam
{
hb_retnl( ( ( TV_ITEM * ) hb_parnl( 1 ) )->lParam );
}
[/code:b4w8xn73] |
treeview | personal para realizar una función que pasar por todos los elementos del árbol
[code=fw:2cedey61]<div class="fw" id="{CB}" style="font-family: monospace;"><br />-SECTOR DE COMPRA<br /> -LISTADO<br /> -SOLICITUD<br /> -STOCK<br />+SECTOR DE VENTAS<br />+SECTOR DE FINANCIEROS<br /> </div>[/code:2cedey61]
De este mo... |
treeview | Colegas sera que não exiet as fazer isto um tipo um DO WHILE aonde passe por todos itens e sub-itens.
Gracias
Luiz Fernando |
treg32 | I must run a easy function with a treg command
I have some pcs on red and each user can open the pc with his user access and the user is not the administrator of red
how run treg object from user no administrator ?
Any sample pls ? |
treo | antonio, i am want buy an smartphone to use and test fwppc, treo 750 is an good choice??
thanks |
treo | Norbert,
Yes, it seems fine. It has a samsung processor, that we should check if it is Intel XScale compatible.
Could you run FWPPC tutor01, tutor02, on it ? You may copy them to a memory card, insert it and test the apps |
treport colorear una celda? | Hola.
Tengo una treport. definido (viendo post antiguos) de esta manera:
[code=fw:3ajzzga1]<div class="fw" id="{CB}" style="font-family: monospace;"> oReport:<span style="color: #000000;">addcolumn</span><span style="color: #000000;">(</span>trcolumn<span style="color: #000000;">(<... |
tres Listbox en un dialogo como saber quien tiene el foco | Buenas tardes
Tengo en un dialogo oDlg 3 listbox, como saber cual de los trs tiene el foco al momento de hacerle un click a un boton del mismo dialogo
Teniendo el ejemplo de abajo ... es decir... cuando presione el BUTTON, debe recibir la funcion MILISTA(XXXX) cual de los oLb1, oLb2, o oLb3 tiene el Foco
DEF... |
tres Listbox en un dialogo como saber quien tiene el foco | Puedes intentar cambiar el color, por ejemplo, definiendo el bGotFocus de los listbox, si es visualmente a lo que te refieres.
Tambien tienes la DATA :HasFocus de los objetos |
tres Listbox en un dialogo como saber quien tiene el foco | Gracias CNavarro
Creo que no me deje explicar muy bien.. con el mismo ejemplo anterior ...
Imaginemos que el Usuario esta en el ListBox oLb2 (es decir que el foco esta en oLb2) y y luego presiona el Boton ID 8011 que activa la Funcion MILISTA( xLBX )
como le paso a esta funcion MILISTA (usado la variable XLBX... |
tres Listbox en un dialogo como saber quien tiene el foco | Lubin
Seguramente tampoco me expliqué bien yo
En cada control, asigna en su bGotFocus a una variable un valor que luego evalúas en el ACTION del botón
oLbx1:bGotFocus := { || nMivariable := 1 }
también te serviría igual en el bLostFocus |
tres Listbox en un dialogo como saber quien tiene el foco | UUUmmm buena CNavarro !!!
Me parece que nos entendimos ... jajaja
Gracias estimado , lo pruebo y lo comento ...
Saludos
Lubin |
treview control with dialog | it is possible create a treview control in to a window (oWnd)sample :family------>grandmother1------>grandmother2------>daddyand for each item open a small dialog into each item of tree samplefamily------>grandmother1 (here a dialog often border)------>grandmother2 (here a dialog often border)------>... |
trichedit pastespecial function | trichedit REPasteSpecial( ::hWnd ) return on box a text into espanol language
how I can change this text into talian language ?
[img:20xopano]http://www.eoeo.it/wp-content/uploads/2016/04/vv-2.jpg[/img:20xopano] |
trichedit property | Exist a function to save file property for trichedit as windows win word ? |
trichedit property | Silvio,
No, as far as we know it.
If you save it as RTF file then you should be able to open the RTF file from Word. |
trichedit property | I thinked to modify the property of rtf file from your rtfpad...
and the I saw on Microsoft there is a function REFILEPROPERTY |
trocar PROMPT REBAR? (resolvido) | É possível trocar o PROMPT de BUTTON REBAR?
Grato
Aoki
resolvido
oToolBar2:settext(1,"teste") |
trouble with oFTP:directory() | Hallo Fivewinners,
I have a problem with ftp:Directory()
[code:3b8omu4o]
aFiles := {}
aFiles = oFTP:Directory( "/*.*")
LogFile( "FTP.LOG", Str(Len(aFiles))+" Files on ftp-Server found" )
for _I = 1 to len(afiles)
LogF... |
trouble with oFTP:directory() | Norbert,
The problem is that you are getting extra info on aFiles[_I,2], right ? |
trouble with oFTP:directory() | [quote="Antonio Linares":3d452h57]Norbert,
The problem is that you are getting extra info on aFiles[_I,2], right ?[/quote:3d452h57]
yes, normaly element 1 = Filename, element 2 = Filesize
Best regards, Norbert |
truco para ventas no fiscales... | hola foro, quiero opinion de como hacer para ciertas ventas no hacerlas fiscales (ventas no registradas), que recomiendan, y obvio tener controlados los inventarios de esas ventas?
salu2
paco |
truco para ventas no fiscales... | Paco:
en <!-- w --><a class="postlink" href="http://www.shcp.gob.mx">www.shcp.gob.mx</a><!-- w --> encuentras la info |
truco para ventas no fiscales... | gracias mauricio por la info, espero no ofender a nadie es cuestion de una consulta, a lo mejor no fue el medio para la duda, ofrezco una disculpa
salu2
paco |
truth table Give some help in ""&"" | need to make a truth table my code works this way: <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
[code=fw:3qhqsqj9]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#Include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><... |
truth table Give some help in ""&"" | Try with #define instead of #command and without the arrow |
trying gdi | Error: Unresolved external '_HB_FUN_HB_NUMTOHEX' referenced from C:\WORK\FWH\LIB\FIVEHX.LIB|TGDIPLUS
I use xhabour
where I can found this function ? |
trying gdi | [code=fw:1ntfsem6]<div class="fw" id="{CB}" style="font-family: monospace;"><br />#IFDEF __XHARBOUR__<br /> #xtranslate hb_DateTime<span style="color: #000000;">(</span><span style="color: #000000;">[</span><x,...><span style="color: #000000;">]</span><span style="color: #000000;">)</span> ... |
trying to use sockcli.prg | I am trying to use sockcli.prg. I connect in the server, but I do not obtain to send nothing! If active log I see the following one:
07/31/06 16:43:02: Connect Socket handle: 1928
07/31/06 16:43:02: Write Socket handle: 1928
07/31/06 16:43:26: IMP01|0|0001|
07/31/06 16:44:32: IMP01|0|0001|
#include "Fiv... |
trying to use sockcli.prg | Vilian,
If you are testing both samples\sockserv.prg and samples\sockcli.prg at the same computer, then you have to change this line in sockcli.prg:
oSocket:Connect( "127.0.0.1" ) // use the server IP address here
Here they are working fine with FWH 2.7 July 2006. |
trying to use sockcli.prg | Thanks Antonio, |
trying to use sockcli.prg | Antonio,
How I make in sockserv.prg to return information to sockcli.prg? |
trying with Lenovo Miix 320 | from two days I have a tablet miix 320 lenovo ( nice) win 10 pro 4gb and 64 gb hd -- good very good!!!!
[img:3arwothk]https://www.laptopmag.com/images/wp/purch-api/incontent/2017/02/lenovo-miix-320-seperated-620x400.jpg[/img:3arwothk]
I tried to compile fwh app and it run ok and it is too fas... |
trying with Lenovo Miix 320 | FWH ScrollPanel works great |
trying with Lenovo Miix 320 | is there a test sample ?
on dialog I wish not on a window |
trying with Lenovo Miix 320 | We need to create ON INIT if it is dialog
Can you try? |
trying with Lenovo Miix 320 | Mr Rao ,
Itried it and it make me error NTOP
1 . then I not understood with font size yse
2. then I wish the possibilty to change the screen on vertical or Horizontal if the table is moved
[code=fw:90syjs48]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #00D7D7;">#inc... |
trying with Lenovo Miix 320 | Sylvio
Sure
Changing dialog's appearance on rotation is of interest to all of us.
Please give me a little time to complete work on hand. |
trying with Lenovo Miix 320 | ok
thanks |
trying with tdatabase | [code=fw:2r17fddp]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">function</span> test<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oServiziSingoli:= TServizi<span style="color: #000000;">(</span><span style="col... |
trying with tdatabase | [code=fw:2vxue6z5]<div class="fw" id="{CB}" style="font-family: monospace;">cDbf := <your dbf file name><br />oDbf := TDatabase<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #000000;">Open</span><span style="color: #000000;">(</span> <span style="color: #00C... |
trying with tdatabase | this is on share mode ? |
trying with tdatabase | Set 4th parameter to .T. for shared mode.
When you produce a multi-user application, it is better to set
[code=fw:1f3b39bn]<div class="fw" id="{CB}" style="font-family: monospace;"><br />SET EXCLUSIVE OFF<br /> </div>[/code:1f3b39bn]
at the beginning of the application.
In this case all dbfs are opened in shared ... |
trying with tdatabase | Nages,
I try with
oTariffe:= TTariffe():new()
oTariffe:gotop()
[code=fw:2z7j7kod]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">CLASS</span> TXData <span style="color: #0000ff;">from</span> TDataBase<br /> <span style="color: #00C800;">DATA</span> cPath <span s... |
trying with tdatabase | Using pure TDatabase class there is no way you can get this kind of error. First thing, TDatabase does not use this kind of alias name.
For simple opening of a dbf file should you use such a round about complex approach?
Please use FWH TDatabase ([b:2ozzxdx8]without any modifications[/b:2ozzxdx8]) and run the followi... |
trying with tdatabase | thanks Nages Rao. it run ok but
On my application I have 15/20 archives and I wish found a solution to use them on Lan Network.
From November I 'm trying many test and I have and had many probems because there is allways soething of wrong.
I found a function to open an archive but I not Know if can go good :
[code=... |
trying with tdatabase | The above function Open_DB() is meant for DBFNTX.
Pleae do not get confused with so many alternatives like TDB, TDatbase, TData etc and keep mixing them up.
TDatabase is the latest and advanced.
Still, I personally advise you that is not necessary to use any of these classes to make a good multiuser application.
[q... |
trying with tdatabase | How it could be a function to open an archive and all its indexes (cdx) with tdatabase and from a specific example folder. \ data \
I made
[code=fw:1zd38hf8]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><... |
trying with tdatabase | Silvio,
You already have the files opening it a specified path with the subclass we created, so you don't need a function to do it also. |
trying with tdatabase | Mr. Rao,
I have been using tData for many years, and it's subset of tSearch and tRecord.
I can assure you it does nothing to conflict with tDatabase from which it inherits.
I have also been developing in multi=user environments with dBase, Clipper, and FWH/xHarbour/Harbour since the mid 1980's. I have absolutely no... |
trying with tdatabase | James, ( and Tim Stone because I Know only you use tdata on this forum)
as I wrote You tdata not run ok I had and Have many problem and each day there is some problem on Original source application there is not
I lose my time from November and I'm afraid of not creating anything that can work on a network and the mon... |
trying with tdatabase | Silvio,
[i:11cjbg1o]>as I wrote You tdata not run ok I had and Have many problem and each day there is some problem on Original source application there is not[/i:11cjbg1o]
Well, as Tim has confirmed, TData DOES run OK and it has been for many years--since the '80s.
[i:11cjbg1o]>I lose my time from November and I'm... |
trying with tdatabase | James,
All This is not true
this evening I did this test in 3 minutes and it works without any classes (tServizi->txdata->tdata->tdatabase)
[b:5sqsank1]Please see dbopen function easy [/b:5sqsank1]
[img:5sqsank1]https://i.postimg.cc/pVq57BCZ/mio.png[/img:5sqsank1]
[code=fw:5sqsank1]<div class="... |
trying with tdatabase | Dear friend Mr. Silvio
I know that it is not only Mr. Tim, but there are many satisfied users of TData class and there are many applications running using TData class. If you are having any problems in using it, I do not think there is any problem with the class but you may be needing more guidance from its author and... |
trying with tdatabase | [quote:1re6f82i]How it could be a function to open an archive and all its indexes (cdx) with tdatabase [/quote:1re6f82i]
When you open and DBF via "DBFCDX", the main index file (cdx) with all the index tags is automatically opened and you do not have to (and should not) write any separate code to open the indexes. This... |
trying with tdatabase | Rao,
In your original comments you suggested removing all additional libraries related to tDatabase including tData.
I was simply pointing out that was not necessary because tData works fine with tDatabase.
Perhaps I could do everything now with just tDatabase but that would involve rewriting code, and I wouldn't ... |
trying with tdatabase | Silvio,
When I first started re-coding into data objects and classes, it took a lot of work, and I had to rethink how I was coding. The more I finished, the easier it became. The result is a faster program, MUCH easier updating, and it is very easy to add new features. It also reduced my total code size very signif... |
trying with tdatabase | Nages,
[quote:3mxo5pkv]If you want that when you open any DBF, the first index tag is to be used, you may set a global setting
SET AUTORDER TO 1 at the beginning of the main function.
This eliminates the need to use
:SetOrder( 1 )
:GoTop()
every time[/quote:3mxo5pkv]
Thank you for pointing that out. I suspect that m... |
trying with tdatabase | Silvio
[quote:2hbvofyu]this evening I did this test in 3 minutes and it works without any classes (tServizi->txdata->tdata->tdatabase)[/quote:2hbvofyu]
OK. But that has nothing to do with creating a multi-user application. It is a good example of how you can design common code to handle multiple things. This is one o... |
trying with tdatabase | tim
I have only said that my application works and runs only that it can not be used on the network.
I do not care what tool to use but I'm interested in a tool that works.
If I have to build a car and the desire for 5 doors I can not do it only with 4 doors or only with two mirrors because the third one is not used... |
trying with tdatabase | Silvio,
I have been helping you, I sent you answers to almost every issue and they have all been coding syntax errors, not database object errors.
Many of the things I have written to you about I am not saying I don't like. I was first trying to just figure out how the program works, and second I sometimes offered al... |
trying with tdatabase | Silvio,
I'm sorry but I actually do not understand your beach example. It sounds like a combination of an inventory control, and calendar, program. I don't understand all the needed records. However, if it works single user, then it should work multi user.
A comment was made earlier that you need to use SET EXCLU... |
trying with tdatabase | Silvio,
can you please post here a foto/copy of the printed price list from the beach "Listino prezzi".
Then it is easier to understand.
Best regards
Otto |
trying with tdatabase | I would add to Tim's locking explanation, that there are times when I do a file lock. This way the file can be in shared mode, so users can at least look at the records.
When you have multiple records to update at the same time, a file-lock insures that all of them will get updated. If you lock each record instead you... |
trying with tdatabase | [quote="James Bott":2mpb6muz]Silvio,
I have been helping you, I sent you answers to almost every issue and they have all be coding syntax errors, not database object errors.
Many of the things I have written to you about I am not saying I don't like. I was first trying to just figure out how the program works, and se... |
trying with tdatabase | [quote="TimStone":28czfxg6]Silvio,
I'm sorry but I actually do not understand your beach example. It sounds like a combination of an inventory control, and calendar, program. I don't understand all the needed records. However, if it works single user, then it should work multi user.
A comment was made earlier that... |
trying with tdatabase | [quote="James Bott":35kmfn23]I would add to Tim's locking explanation, that there are times when I do a file lock. This way the file can be in shared mode, so users can at least look at the records.
When you have multiple records to update at the same time, a file-lock insures that all of them will get updated. If you... |
trying with tdatabase | You don't need all of that code. You use the example of one field, but consider if there are 10 fields.
Step 1: Open the data object with one line
oDbf := tdata():new(, "cust" )
Step 2: The values are loaded in buffers, so edit them directly
@ 10,10 GET oDbf:abc
.... Do all the other edits the same way
Step 3... |
trying with tdatabase | tim,
perhaps you not understood the problem
I have a FIELD 4 CR called ID sample "0001"
I wish add a new record
and the ID FIELD must be incremental sample "0002"
it is calculate with
IF oServiziSingoli: EOF ()
cNewId: = strzero (oServiziSingoli: RecNo (), 4)
ELSE
cNewId: = strzero... |
trying with tdatabase | [quote:2hlkp5et]Step 1: Open the data object with one line
oDbf := tdata():new(, "cust" )[/quote:2hlkp5et]
Actually, I don't recommend the above. You should have a class for each database. It can be as simple as this:
[code=fw:2hlkp5et]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C8... |
trying with tdatabase | [quote:2x4tzvmh]IF oServiziSingoli: EOF ()
cNewId: = strzero (oServiziSingoli: RecNo (), 4)
ELSE
cNewId: = strzero ((VAL (oServiziSingoli: ID) +1), 4)
ENDIF
if james erase this step how calculate the new id ?[/quote:2x4tzvmh]
You don't need that code if you are using my TAutoincrement class or the autoincrement field... |
trying with tdatabase | James,
You know I agree with you on both points, and that is exactly what I do within my programs.
HOWEVER, I wanted to point out to Silvio just how simple this can be, so I used a VERY generic example.
Tim |
trying with tdatabase | Tim,
I figured you did. However, that was a good opening for explaining it for everyone else who is following this thread. And I had just written most of it two days ago for someone else.
Thanks for the opening.
James |
trying with tdatabase | [quote="James Bott":2jgez3cz][quote:2jgez3cz]IF oServiziSingoli: EOF ()
cNewId: = strzero (oServiziSingoli: RecNo (), 4)
ELSE
cNewId: = strzero ((VAL (oServiziSingoli: ID) +1), 4)
ENDIF
if james erase this step how calculate the new id ?[/quote:2jgez3cz]
You don't need that code if you are using my TAutoincrement cla... |
tsBrowse y Harbour | Alguien tiene la librería tsbrowse compilada para las últimas versiones de Harbour?
O Alguien sabe como compilarla? |
tsBrowse y Harbour | Si tenés las fuentes lo compilarias como cualquier prg. Yo antes lo utilizaba y lo compilaba con el resto de mis fuentes.
Saludos |
tsBrowse y Harbour | Eso ya lo he intentado y al compilar los .c aparecen muchiiiisimos errores.
Buscando en el foro he visto que mas gente le ha pasado.
Alguno ha conseguido solucionarlo? |
tsBrowse y Harbour | Fernando, Yo tengo la TsBrowse 8 original con los proyectos verce listos para que cambies las rutas y la compiles con la version de Harbour o xHarbour que gustes, Yo tengo xHarbour por eso no te ofrezco la LIB pero los fuentes te sirven y los compilas con cada version nueva que tengas de Harbour - FWH, dame un mail don... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.