Are there any Treeview samples with associated edit boxes?
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
That works, thanks cnavarro.
Inline looks good, Antonio.
Inline looks good, Antonio.
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
I was pleasantly surprised to see that we already defined a key (tab) to switch back & forth between the tree and the text area.
However - Go ahead and pick a node, and then Tab back & forth, several times. Each time the pointer moves into the Text area, it will generate a new tab inside the text area.
In other words, you start with a node and a blank text area. We start by pointing to the node. When you Tab to the Text area, it will create a tab inside the text area. When you Tab again, it goes back to the node. When you tab again, it goes back to the Text Area, but adds another Tab. Etc.
In Treepad Enterprise, they resolve this by assigning the F11 key to return to the node. The F12 key is used to switch to the Text Area.
We could also just assign a different dedicated key, other than Tab. I think one Pim assigned the F6 key, although I don't remember which one that was.
However - Go ahead and pick a node, and then Tab back & forth, several times. Each time the pointer moves into the Text area, it will generate a new tab inside the text area.
In other words, you start with a node and a blank text area. We start by pointing to the node. When you Tab to the Text area, it will create a tab inside the text area. When you Tab again, it goes back to the node. When you tab again, it goes back to the Text Area, but adds another Tab. Etc.
In Treepad Enterprise, they resolve this by assigning the F11 key to return to the node. The F12 key is used to switch to the Text Area.
We could also just assign a different dedicated key, other than Tab. I think one Pim assigned the F6 key, although I don't remember which one that was.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Are there any Treeview samples with associated edit boxes?
D.
F11 and F12 implemented this way:
SetKey( VK_F12, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 2 ]:SetFocus(),) } )
SetKey( VK_F11, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 1 ]:SetFocus(),) } )
Updated EXE and PRG:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zip
F11 and F12 implemented this way:
SetKey( VK_F12, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 2 ]:SetFocus(),) } )
SetKey( VK_F11, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 1 ]:SetFocus(),) } )
Updated EXE and PRG:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zip
Re: Are there any Treeview samples with associated edit boxes?
PIM can generate unicode file likeAntonio Linares wrote:D.
F11 and F12 implemented this way:
SetKey( VK_F12, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 2 ]:SetFocus(),) } )
SetKey( VK_F11, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 1 ]:SetFocus(),) } )
Updated EXE and PRG:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zip
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<start>
<UTF_encoded>Š</UTF_encoded>
</start>
Regards, Greetings
Try FWH. You will enjoy it's simplicity and power.!
Try FWH. You will enjoy it's simplicity and power.!
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
Looks good, but it's still popping up a 43, after pressing the Num+ key. I can't seem to programatically assign Insert Child to other keys, like Insert.
Also, inline editing - fine, but it should also work with a double-click on an existing node.
Also, inline editing - fine, but it should also work with a double-click on an existing node.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Are there any Treeview samples with associated edit boxes?
Current pim.exe properly reads and writes your XML example, anyhow we don't use that format yet when creating a new one.bpd2000 wrote:PIM can generate unicode file likeAntonio Linares wrote:D.
F11 and F12 implemented this way:
SetKey( VK_F12, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 2 ]:SetFocus(),) } )
SetKey( VK_F11, { || If( oWnd:oWndActive != nil, oWnd:oWndActive:aControls[ 1 ]:SetFocus(),) } )
Updated EXE and PRG:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zipCode: Select all
<?xml version="1.0" encoding="utf-8" ?> <start> <UTF_encoded>Š</UTF_encoded> </start>
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Are there any Treeview samples with associated edit boxes?
D.FWExplorer wrote:Looks good, but it's still popping up a 43, after pressing the Num+ key. I can't seem to programatically assign Insert Child to other keys, like Insert.
Also, inline editing - fine, but it should also work with a double-click on an existing node.
Removed the popup with the 43. Thinking about how to programmatically assign it.
We are currently focused on swaping up and down tree items. The code is not finished yet and it is buggy, but you can see the logic that we are trying to implement. Be aware that testing this on development new functionality may destroy the tree information on the screen.
current version in development:
https://github.com/FiveTechSoft/FWH_too ... er/pim.zip
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
Ok, thanks Antonio. I'll continue testing, and looking through the code.
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
Mostly working.
I created a separate git account, for HB and FW. When we need to attach an image to our posts here, should we create an issue? Or do we upload to a specific page?
So,
I removed the popup that asks if you want to replace the file, when you click the Save button. Recompiled, and looks fine.
I added some nodes to the test.xml, and also changed the pages associated with some of the nodes, and then added an image to one of the pages.
Saved and exited.
But when I try to open the new version that was just saved, there's an error that
Filename C:\fwh\samples\test.xml
Line 28
Description: HBXML_ERROR_UNCLOSED
Node < company >
I created a separate git account, for HB and FW. When we need to attach an image to our posts here, should we create an issue? Or do we upload to a specific page?
So,
I removed the popup that asks if you want to replace the file, when you click the Save button. Recompiled, and looks fine.
I added some nodes to the test.xml, and also changed the pages associated with some of the nodes, and then added an image to one of the pages.
Saved and exited.
But when I try to open the new version that was just saved, there's an error that
Filename C:\fwh\samples\test.xml
Line 28
Description: HBXML_ERROR_UNCLOSED
Node < company >
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Are there any Treeview samples with associated edit boxes?
D.
You simply upload the image file to your repo in GitHub, then you click on it, right click on the image again and copy the "raw" url.
That url is the one to post here clicking on the Img button here when editing.
Please post here the entire content of C:\fwh\samples\test.xml once your overwrite it
You simply upload the image file to your repo in GitHub, then you click on it, right click on the image again and copy the "raw" url.
That url is the one to post here clicking on the Img button here when editing.
Please post here the entire content of C:\fwh\samples\test.xml once your overwrite it
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
Sorry, I thought we were sharing files on the FW repository. But of course we're using our own space.
Too many things going on. Alright, thanks Antonio.
Let me know if you need any more info, regarding the error.
Too many things going on. Alright, thanks Antonio.
Let me know if you need any more info, regarding the error.
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
Did you get the same error, Antonio?
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Are there any Treeview samples with associated edit boxes?
D.
Yes, it fails here too
We still have some bugs to solve
Yes, it fails here too
We still have some bugs to solve
-
- Posts: 83
- Joined: Fri Aug 09, 2013 12:43 am
Re: Are there any Treeview samples with associated edit boxes?
Ok, thanks. I'll continue playing with it.