FoxInCloud
Treeview in a form instead of 3 linked grids
Gravatar is a globally recognized avatar based on your email address. Treeview in a form instead of 3 linked grids
  Michele
  All
  Feb 7, 2020 @ 04:56am

In a form i have 3 grids, each other linked, so when i move on the first the second and the third are refreshed and if i move the second only the third will be refreshed. With a treeview i can simplify this structure because i can have a unique cursor that contains all the data of the three grid in only one position and read them sequentially to create a treeview.. I need some help to the code for the treeview or or a link or an example can be better...

Thanks

Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  FoxInCloud Support - Thierry N.
  Michele
  Feb 7, 2020 @ 05:11am

Ciao Michele,

Did you already see this example in the FoxInCloud Live Tutorial?
You have the source code in modify form (home(1) + "tools\ab\aw\samples\FiC\ficTuto\progs\forms\treeView.scx")

Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  Michele
  FoxInCloud Support - Thierry N.
  Feb 7, 2020 @ 05:33am

I'll see it.. Thanks

Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  Michele
  FoxInCloud Support - Thierry N.
  Feb 9, 2020 @ 01:13pm

I tried it, but without success. I copied and paste the control in my form.pageframe and try to use it as it is, changing nothing, but i can see it. I have no errors, but no tree in my form. I commented all your events that show in the form what happens in tutorial and leave the init() method where you add the nodes...but nothing.

Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  Vincent H.
  Michele
  Feb 10, 2020 @ 12:17am

Are the pictures well saved in awbsicon.dbf ?

Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  FoxInCloud Support - Thierry N.
  Michele
  Feb 10, 2020 @ 12:48am

Please make sure to set

xxxServer.lBStreeViewAdd = .T.
Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  Vincent H.
  FoxInCloud Support - Thierry N.
  Feb 10, 2020 @ 01:10am

If I remember correctly, the treeview is not displayed if it contains non Font Awesome icons

Gravatar is a globally recognized avatar based on your email address. re: Treeview in a form instead of 3 linked grids
  Michele
  FoxInCloud Support - Thierry N.
  Feb 10, 2020 @ 08:30am

xxxServer.lBStreeViewAdd = .T. was missing

Thanks

© 1996-2024