Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
XTree - XTF_SPLIT #32652 14 May 20 04:12 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Is there any fudge factor I missed for XTree's XTF_SPLIT as 90% time it just needs to be manual widened a few pixels to see the whole field..
For example see the "Total Balance" on the attached screen shot, by default the last few digits are cut off this column and it needs to be manually made wider.
Thanks.

Attached Files 2020-05-14_17-08-02.png
Last edited by Steve - Caliq; 14 May 20 04:14 PM.
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32653 14 May 20 04:37 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Hey Jorge - (er, Steve)

I have the exact same issue in a grid with collapsible rows like yours. It seems to be a fudge factor created by the [+] indicator.

I didn't have the guts to complain to Jack about it... eek

Last edited by Frank; 14 May 20 08:19 PM.
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32654 14 May 20 04:39 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
PS: I did report a problem in split grids however, columns after the split, if you click on them they do not indicate the sort order. Have you noticed that in your application?

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32655 14 May 20 04:53 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I guess we know now who has the guts out there. (Not that I'm trying to challenge anyone to post more complaints!)

I do suspect that Steve (or is it Jorge in disguise?) has the right theory - the "+" is messing with the optimization logic. Let me see if I can work around that.

The other issue, with the sort indicator not appearing on the right side of a split tree remains out of my hands. I'm hoping for an update of the control to resolve that eventually.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32657 14 May 20 05:18 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
All I can say is glad Jorge gets the blame reporting theses niggles smile
Thanks in advance of any work around ...

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32660 14 May 20 06:44 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
At lease Steve got the credit for my post... cry

And next time i will be more than happy to report any "niggles" i find... thanks I get for just letting it go!!

Last edited by Frank; 14 May 20 06:45 PM.
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32661 14 May 20 06:46 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Yes thanks Herman

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32663 14 May 20 07:57 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Maybe I had comment that problem when, suddenly, from the dark a deer crossed our way and confused Frank wink
Just to say that, indeed, this topic could be posted by me before but, I'm pickier than my customers and since nobody claimed about this, I just saved our time.
But I'm very happy that Rene spotted it and, even more important, that Ty found it simple to solve.

Everybody happy cool

Last edited by Jorge Tavares - UmZero; 14 May 20 07:58 PM.

Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32665 14 May 20 08:10 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
LOL funny i thought you had indeed made the original post.. never knew Steve to be on your level of "picky"! wink

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32666 14 May 20 08:17 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
I feel honored 😀

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32670 15 May 20 12:24 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Thanks Ty!
(And no rush, but when you get a chance, maybe you could fill me in on the solution!)

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32687 17 May 20 12:08 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
This was harder than I expected (maybe explaining why it wasn't quite right to start with), but I think it may be fixed in this update:

ash65notes.txt
ash-6.5.1680.8-w32-upd.zip
ash-6.5.1680.8-w32c-upd.zip

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32688 17 May 20 08:23 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Thanks, I’ll give it try later

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32689 18 May 20 07:42 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
There are few pros and cons to the tweaks to 6.5.1680.8...

The Pro is it sorted the last column size in the left hand Split, the Con nothing shows at all in the right-hand split until I right-click and select 'Reset Columns'

Code
XT'FLAGS = XT'FLAGS OR XTF_SPLIT
XT'XTRCTL.LEFTPANECOLS = 6
XT'XTRCTL.LEFTPANEWIDTH = 0



Attached Files 2020-05-18_08-35-20.png2020-05-18_09-30-20.jpg
Last edited by Steve - Caliq; 18 May 20 07:43 AM.
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32690 18 May 20 01:34 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I didn't see this happening in my test program XTRA5[908,21]. I'm guessing it is somehow connected with the use of the XTR'USRCFG option. Does the problem go away if you change your TreeID ?

This actually reminds me that I've see a variation of this problem before, when adding columns to an existing tree whose saved parameters don't include the new column, causing the new column to initially appear invisible. We may need some logic to automatically detect when the saved configuration should be ignored due to changes in the tree. But the change here (slight widening of the left panel) was too slight to have such a big effect, so I'm not sure if we're dealing with two separate issues.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32691 18 May 20 01:49 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
I changed the XTree ID and much the same.
Code
XT'COLDEF$ = XT'COLDEF$ + "0~0~ ~H~TreeID=SLOPNG/"+USER'NAME+"-02:2~~"


I also changed the following:
Code
	XT'XTRCTL.USRCFG = XTUCFG_COLWID+XTUCFG_COLORD+XTUCFG_FONT

to
Code
	XT'XTRCTL.USRCFG = 0

and still we get a super secure "blank" grid till I hit reset columns. (You could sell it as new feature!)


This is currently under Windows/Ashell (not tried it under ATE..yet)

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32692 18 May 20 01:54 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
(ATE does same.)

Your should be able to emulated this by logging on to our Test system at Caliq via VPN and typing "JACK" at the DOT Prompt, Then Click Continue button..

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32693 18 May 20 01:55 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
When adding or changing columns in an existing xtree when usrfcg is also active, you should change the xtree ID so it doesn't fall into this situation.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32694 18 May 20 01:58 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
With you there Frank, in this example we have not changed the program just the Ashell version, But if changing the xtreeID solved the issue I would happy done that.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32695 18 May 20 01:59 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
(thumbs-up)

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32696 18 May 20 02:07 PM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Does Jorge win a Microsabio Anniversary Pen for the smallest pickiest observation and creating the the longest of BBS threads along with using Jacks precious time to solved it. smile

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32704 18 May 20 09:32 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Apparently I underestimated the difficulties (or there are some unrecognized factors). Here's another pass...

ash-6.5.1680.9-w32-upd.zip
ash-6.5.1680.9-w32c-upd.zip

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32706 18 May 20 10:10 PM
H
Herman Roehm
Unregistered
Herman Roehm
Unregistered
H
I have one of the pens I would donate, but it doesn't write eek

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32707 18 May 20 10:18 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
I think Steve should LOSE his pen for forcing Jack down this rabbit hole!! cry

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32710 19 May 20 07:37 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
ash-6.5.1680.9 is looking good, Thanks! cool

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32712 19 May 20 09:20 AM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Again, I'm glad my post helped the community whistle


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32713 19 May 20 09:22 AM
Joined: Sep 2003
Posts: 4,158
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,158
Thanks Jorge. smile

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32716 19 May 20 04:26 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
This fix is causing an unexpected grid repaint causing collapsed rows to first appear OPEN, then collapsed. Not occuring before this modification.

PS: Blame Steve...

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32719 19 May 20 05:51 PM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Yea!! Shame on you Steve, for causing all this noise in such quiet community whistle


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32720 19 May 20 05:53 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Well i guess Jack is always looking for more to do... sick

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32723 19 May 20 11:18 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Jack - any traction on this? I don't want to leave it just to bring it up 10 revs from now. To repeat, my grid repopulates every 5 seconds, when it does, the rows show expanded, then collapsed on their own, like when it repaints it opens the rows, then closes them. I don't know if Steve or Jorge or Herman is having the same issue or even give 2 shakes but it was better before the change. Or i can change some switches on this end to see if it would prevent this behaviour.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32724 19 May 20 11:59 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Sorry, got distracted. It seemed like part of the problem with the calculation was that the expand/collapse state hadn't been initialized, so I changed the order. Didn't notice the refresh problem (in theory redraw should be disabled at that point), but I'll see if that can be backed out.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32725 20 May 20 05:39 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
FWIW, the following update backs out the most recent adjustments which may have been responsible for the excessive redrawing that you report...

ash65notes.txt
ash-6.5.1680.10-w32-upd.zip
ash-6.5.1680.10-w32c-upd.zip

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32726 20 May 20 03:06 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Thanks for the update.

I can confirm that the row open/collapse flash is gone. I can also confirm that the grid appears to be making adjustments for the [+] addition and removal. ie. no more empty pixel space before the split.

Just a word of caution, i had to reset the columns for the adjustment to take hold. Not a problem just an FYI.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34473 16 Jul 21 04:03 PM
Joined: Nov 2006
Posts: 2,223
S
Stephen Funkhouser Offline
Member
Offline
Member
S
Joined: Nov 2006
Posts: 2,223
Curious if the XTREE control vendor has addressed the column sort to the right of the split issue?


Stephen Funkhouser
Diversified Data Solutions
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34474 16 Jul 21 04:21 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Stephen, are you referring to the sort direction indicator? Or the actual sorting of the column? I can confirm it will sort just wont indicate what its doing, which is indeed confusing to the user.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34475 16 Jul 21 05:46 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
It looks like the underlying problem in the control was fixed. But for some reason I haven't yet determined, the fix isn't percolating up into the A-Shell implementation. (If I recall correctly, the idea of having a sort indicator was something we convinced them to add, but at some point perhaps prior to that, A-Shell came up with it's own version the indicators.) Let me investigate further and see if I can't resolve it.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34476 20 Jul 21 03:26 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
It seems that the underlying problem was fixed, but only partially. The control supports two sort modes, dubbed automatic and manual. The indicators now work in the automatic mode, but that mode only supports the primary sort indicator. (Whereas in the manual mode, we supported up to 3 columns at a time with sort indicators.) Still, that's better than nothing. Aside from that, there seems to be some mysterious variability in the actual indicators used, with a tiny triangle used in some cases and something more like a v or ^ in other cases. (For such a tiny detail, there seems to be a lot of complexity surrounding it.) Anyway, if you want to give it a try ...

ash-6.5.1705.7-w32-upd.zip
ash-6.5.1705.7-w32c-upd.zip
ash65notes.txt

Note that the zips contain the latest version of the DLL; you probably have it already, but it is required for the split indicator to work at all.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34762 23 Nov 21 07:21 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
I hate to tear back into this oozing wound but alas i am having an issue getting the split panel to look correct...

Scenario: I have a screen with a tab control with 10 panels each with an XTREE using a split option. The coldef is the same for all panels. Looks great on panel 1, however when i switch panels, the split doesn't align properly. (there is a wide gap). HOWEVER if i click reset-columns it fixes the display. But clicking off this panel and back in doesn't keep the display fixed.

I know this has been reported before, it's not a fudge factor, its more of like a whole willy wonka factory of emtpy space. Here are the specifics, the leftpanelcols=9. On the first panel everything looks OK. When i switch panels i am filtering the data AND hiding some of the initial columns that were displayed in panel 1.

Question - leftpanelcols should include hidden columns correct?

I have turned off the treeid just to make sure it doesnt revert back to some older display setting.

I am use XTROP_CREATE each time and turned off NOREDRAW just to be sure...

I tested a few more things and it seems that adding a hidden column to the mix confuses the leftpanel logic... i guess i could just not display these on the other grids but the hiding them seemed like a more logical approach.

Just wanted to get a confirm/deny as to what is the best approach to get this to work.

TIA

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34763 23 Nov 21 09:01 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Here are a correct and not so correct example below:

As you can see its not even close... hard to decipher exacly what xtree is dong here... crazy

Attached Files Capture1.PNGCapture2.PNG
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34764 23 Nov 21 09:49 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
It sounds like the optimization/sizing logic is failing to recognize the hidden attribute on the left side panels. Am investigating...

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34765 23 Nov 21 09:55 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Appreciate it Cap... thanks.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34766 23 Nov 21 10:55 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Ok, let's try this version...

ash-6.5.1708.8-w32c-upd.zip

While you're at it, make sure you have the 7.53 version of the tree DLL ...

SftTree_IX86_U_75.dll

Note that this version also supports Filter=NONE in the zero column working the way you requested in this post.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34767 24 Nov 21 04:25 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Thanks Cap - will try to get this tested today. If not, enjoy the long holiday weekend!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34769 29 Nov 21 05:46 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Good Monday -

I hope you have arisen from your carb and suds induced stupor. For me i added some weekend hikes and maybe managed to burn 1/10 of the calories consumed... long way to go towards knocking off hibernation / covid reserves crazy

I have tested the new rev... (i already had the proper .dll loaded), now the leftpanel is docked/slammed as far to the left as possible, so no joy to be found yet. Clicking reset cols does place it in the correct position. Let me know if a trace would help. Not a rush on this as it's going to be an inhouse utility.

PS: If it matters running linux/server 6.5.1690.2

TIA

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34770 29 Nov 21 06:54 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
What would be the most helpful is if I could just ATE direct to that program, which would allow me to step through the logic in action.

Second best would be a trace with XTREE and XDEBUG set.

The fact that it resets properly when you do the reset column operation seems like a hopeful sign, and also an indication that it's somehow tied to the previously saved settings rather than the specifications (which makes it harder to reproduce).

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34774 29 Nov 21 08:21 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Might not be much help. I was only able to capture xtree trace as xdebug seemed to be filtering off my mouse clicks and not transferring the exitcodes back to the program. Program is in limp mode i would need to tighten it up before you wasted your time connecting. The first display is correct.. remaining clicks are all bad except the last one where i click back on the main panel. Perhaps i have other xtrctl settings that are not optimized... not sure.

0 15:06:41 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=12000,1000, par=9, max=7, icc=0, hwe=0
1 15:06:41 <TELNET:45e4> xtree: auto-assign ctlid 0
2 15:06:41 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=7
3 15:06:41 <TELNET:45e4> Coldef processing complete (0 ms)
4 15:06:41 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
5 15:06:41 <TELNET:45e4> XTREE selrow = , key =
6 15:06:50 <TELNET:45e4> ProcessKBDClick: VK_xF10002 (mask:1)
7 15:06:50 <TELNET:45e4> xrow chg from 1 to 6 (rowidxcno=16, dsprow=0)
8 15:06:50 <TELNET:45e4> XTREE pckexit
9 15:06:50 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10002 (-10002), xrow/col=6,0, trow/col=6,0, xvalid=0, navcod/mask=0x0/0x0, selrow=6, t/l idx=0,0, edit=0x0, icc=0
10 15:06:50 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 3262 to 32 bytes (7 segments) using diff
EXITCODE=[10002]
12 15:06:51 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=9, max=241, icc=0, hwe=0
13 15:06:51 <TELNET:45e4> xtree: auto-assign ctlid 0
14 15:06:51 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=241
15 15:06:51 <TELNET:45e4> Coldef processing complete (0 ms)
16 15:06:51 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
17 15:06:51 <TELNET:45e4> XTREE selrow = , key =
18 15:06:57 <TELNET:45e4> ProcessKBDClick: VK_xF10003 (mask:1)
19 15:06:57 <TELNET:45e4> xrow chg from 1 to 136 (rowidxcno=16, dsprow=0)
20 15:06:57 <TELNET:45e4> XTREE pckexit
21 15:06:57 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10003 (-10003), xrow/col=136,0, trow/col=136,0, xvalid=0, navcod/mask=0x0/0x0, selrow=136, t/l idx=0,0, edit=0x0, icc=0
22 15:06:57 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 112306 to 1200 bytes (241 segments) using diff
EXITCODE=[10003]
24 15:06:57 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=9, max=41, icc=0, hwe=0
25 15:06:57 <TELNET:45e4> xtree: auto-assign ctlid 0
26 15:06:57 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=41
27 15:06:57 <TELNET:45e4> Coldef processing complete (0 ms)
28 15:06:57 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
29 15:06:57 <TELNET:45e4> XTREE selrow = , key =
30 15:07:05 <TELNET:45e4> ProcessKBDClick: VK_xF10004 (mask:1)
31 15:07:05 <TELNET:45e4> xrow chg from 1 to 40 (rowidxcno=16, dsprow=0)
32 15:07:05 <TELNET:45e4> XTREE pckexit
33 15:07:05 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10004 (-10004), xrow/col=40,0, trow/col=40,0, xvalid=0, navcod/mask=0x0/0x0, selrow=40, t/l idx=0,0, edit=0x0, icc=0
34 15:07:05 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 19106 to 200 bytes (41 segments) using diff
EXITCODE=[10004]
36 15:07:06 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=9, max=9, icc=0, hwe=0
37 15:07:06 <TELNET:45e4> xtree: auto-assign ctlid 0
38 15:07:06 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=9
39 15:07:06 <TELNET:45e4> Coldef processing complete (0 ms)
40 15:07:06 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
41 15:07:06 <TELNET:45e4> XTREE selrow = , key =
42 15:07:15 <TELNET:45e4> ProcessKBDClick: VK_xF10005 (mask:1)
43 15:07:15 <TELNET:45e4> xrow chg from 1 to 4 (rowidxcno=16, dsprow=0)
44 15:07:15 <TELNET:45e4> XTREE pckexit
45 15:07:15 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10005 (-10005), xrow/col=4,0, trow/col=4,0, xvalid=0, navcod/mask=0x0/0x0, selrow=4, t/l idx=0,0, edit=0x0, icc=0
46 15:07:15 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 4194 to 40 bytes (9 segments) using diff
EXITCODE=[10005]
48 15:07:15 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=9, max=13, icc=0, hwe=0
49 15:07:15 <TELNET:45e4> xtree: auto-assign ctlid 0
50 15:07:15 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=13
51 15:07:15 <TELNET:45e4> Coldef processing complete (0 ms)
52 15:07:15 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
53 15:07:15 <TELNET:45e4> XTREE selrow = , key =
54 15:07:18 <TELNET:45e4> ProcessKBDClick: VK_xF10006 (mask:1)
55 15:07:18 <TELNET:45e4> xrow chg from 1 to 6 (rowidxcno=16, dsprow=0)
56 15:07:18 <TELNET:45e4> XTREE pckexit
57 15:07:18 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10006 (-10006), xrow/col=6,0, trow/col=6,0, xvalid=0, navcod/mask=0x0/0x0, selrow=6, t/l idx=0,0, edit=0x0, icc=0
58 15:07:18 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 6058 to 60 bytes (13 segments) using diff
EXITCODE=[10006]
60 15:07:18 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=9, max=30, icc=0, hwe=0
61 15:07:18 <TELNET:45e4> xtree: auto-assign ctlid 0
62 15:07:18 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=30
63 15:07:19 <TELNET:45e4> Coldef processing complete (0 ms)
64 15:07:19 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
65 15:07:19 <TELNET:45e4> XTREE selrow = , key =
66 15:07:23 <TELNET:45e4> ProcessKBDClick: VK_xF10002 (mask:1)
67 15:07:24 <TELNET:45e4> XTREE pckexit
68 15:07:24 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10002 (-10002), xrow/col=1,0, trow/col=1,0, xvalid=0, navcod/mask=0x0/0x0, selrow=1, t/l idx=0,0, edit=0x0, icc=0
69 15:07:24 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 13980 to 145 bytes (30 segments) using diff
EXITCODE=[10002]
71 15:07:24 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=9, max=241, icc=0, hwe=0
72 15:07:24 <TELNET:45e4> xtree: auto-assign ctlid 0
73 15:07:24 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=9, trow/col=0,0, iaclick=0,0, lastxc=0, max=241
74 15:07:24 <TELNET:45e4> Coldef processing complete (0 ms)
75 15:07:24 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
76 15:07:24 <TELNET:45e4> XTREE selrow = , key =
77 15:07:30 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
78 15:07:30 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34778 29 Nov 21 10:17 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
How about if you leave XDEBUG on just until the first XCALL XTREE (so as to capture the coldef) and then turn it off?

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34779 29 Nov 21 10:44 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Sure.. this is the first panel displayed, but the split panel is already in wrong position here. HTH

0 17:43:17 <TELNET:45e4> wait on socket: 17:43:11 .....
1 17:43:20 <TELNET:45e4> SETFOCUS
2 17:43:20 <TELNET:45e4> after sendkbdstr: 1,1
, icc=0, buf[0]=0
3 17:43:20 <TELNET:45e4> after sendkbdstr: 0,2
, icc=0, buf[0]=0
4 17:43:20 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=12000,1000, par=2, max=7, icc=0, hwe=0
5 17:43:20 <TELNET:45e4> xtree: auto-assign ctlid 0
6 17:43:20 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=2, trow/col=0,0, iaclick=0,0, lastxc=0, max=7
7 17:43:20 <TELNET:45e4> DPI: 96, comboheight: 24, largebuttons: 1, hbtn: 1050d9a, -dpm: 0, chkbox: 21
8 17:43:20 <TELNET:45e4> XTREE coldef cidx=0: 0~0~Font~H~HdrScale=80~HdrFont=Tahoma,9600
9 17:43:20 <TELNET:45e4> XTREE coldef cidx=0: 0~0~x~H~PopupMenu=|%miame%\icons\beta\our_customers_64.png=24|Add Client,VK_xF20001;|%miame%\icons\beta\open_64.png=24|Open in Excel,$EXPCSV+;-----,;|%miame%\icons\beta\refresh_64.png=24|Reset Columns,$RESETCFG
10 17:43:20 <TELNET:45e4> XTREE coldef cidx=0: 1~1~Color~Hb
11 17:43:20 <TELNET:45e4> XTREE coldef cidx=1: 2~1~Filter~H0UE#
12 17:43:20 <TELNET:45e4> XTREE coldef cidx=2: 3~7~Reserved~HS
13 17:43:20 <TELNET:45e4> XTREE coldef cidx=3: 10~4~Num~#H~Filter=None
14 17:43:20 <TELNET:45e4> XTREE coldef cidx=4: 14~20~Type~SH
15 17:43:20 <TELNET:45e4> XTREE coldef cidx=5: 34~20~Active~SH
16 17:43:20 <TELNET:45e4> XTREE coldef cidx=6: 54~100~Customer~S~Dspmin=3~Filter=None
17 17:43:20 <TELNET:45e4> XTREE coldef cidx=7: 154~20~DB~S|~Filter=None
18 17:43:20 <TELNET:45e4> XTREE coldef cidx=8: 174~40~Status~S|~Dspmin=3
19 17:43:20 <TELNET:45e4> XTREE coldef cidx=9: 214~50~EHR~S|
20 17:43:20 <TELNET:45e4> XTREE coldef cidx=10: 317~10~PMS
Package~S|~Dspmin=3~Filter=None
21 17:43:20 <TELNET:45e4> XTREE coldef cidx=11: 327~10~Contract
Date~D|~Dspmin=3~Filter=None
22 17:43:20 <TELNET:45e4> XTREE coldef cidx=12: 337~10~Subscription
Date~D|~Dspmin=3~Filter=None
23 17:43:20 <TELNET:45e4> XTREE coldef cidx=13: 357~10~Live
Date~D|~Dspmin=3~Filter=None
24 17:43:20 <TELNET:45e4> XTREE coldef cidx=14: 347~10~Completed
Date~D|~Dspmin=3~Filter=None
25 17:43:20 <TELNET:45e4> XTREE coldef cidx=15: 367~100~Notes~S~Dspmin=3~Filter=None
26 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgEven=234,243,255
27 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgOdd=255,255,255
28 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,150,150,R
29 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=131,201,129,G
30 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,170,Y
31 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,255,W
32 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=150,150,150,Z
33 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=100,100,100,D
34 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,182,108,O
35 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~X~H~FooterScale=90~FooterFont=Tahoma,9600
36 17:43:20 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgFooter=255,255,200
37 17:43:20 <TELNET:45e4> XTREE msg 18, id=1772
38 17:43:20 <TELNET:45e4> Coldef processing complete (266 ms)
39 17:43:20 <TELNET:45e4> XTREE msg 18, id=1772
40 17:43:20 <TELNET:45e4> 7 Items loaded / 0 deleted from data array: 0 ms
41 17:43:20 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
42 17:43:20 <TELNET:45e4> xtree_go1: clock=1714045953
43 17:43:20 <TELNET:45e4> XTREE selrow = , key =
44 17:43:20 <TELNET:45e4> Set optimization limit to 100 rows (col 15)
45 17:43:20 <TELNET:45e4> Columns optimized: 16 ms (rows=7, cols=17)
46 17:43:20 <TELNET:45e4> XTREE msg 12, id=1772
47 17:43:20 <TELNET:45e4> xtree_go: time=1714046031
48 17:43:20 <TELNET:45e4> XTREE msg 12, id=1772
49 17:43:20 <TELNET:45e4> XTREE msg 22, id=1772
50 17:43:21 <TELNET:45e4> SETFOCUS
51 17:43:22 <TELNET:45e4> XTREE msg 23, id=1772
52 17:43:22 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
53 17:43:22 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34781 30 Nov 21 01:01 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Try this version ...
ash-6.5.1709.0-w32c-upd.zip

WARNING: this is a "very beta" version for unrelated reasons, with the most obvious one being that PDFX is broken (due to an update in progress). So only use it for in-house testing. I tweaked the threshold between going with the control's recommended splitter position and the one we manually calculate, and also added some relevant traces (set the XTREE trace flag).

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34785 30 Nov 21 07:01 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Thanks Cap - understood. Giving it a test drive now...

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34787 30 Nov 21 09:05 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Ok not sure what results you were expecting.. but same issue persists, however with a new anamoly of missing entire row data in the clicked on panels. Clicking reset cols brings everything back. The initial trace includes xtree and xdebug, then i turned off xdebug and clicked a new panel... not sure that helps or not.

0 16:04:37 <TELNET:45e4> wait on socket: 16:04:29 .....
1 16:04:39 <TELNET:45e4> SETFOCUS
2 16:04:39 <TELNET:45e4> after sendkbdstr: 1,1
, icc=0, buf[0]=0
3 16:04:39 <TELNET:45e4> after sendkbdstr: 0,2
, icc=0, buf[0]=0
4 16:04:39 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=12000,1000, par=2, max=7, icc=0, hwe=0
5 16:04:39 <TELNET:45e4> xtree: auto-assign ctlid 0
6 16:04:39 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=2, trow/col=0,0, iaclick=0,0, lastxc=0, max=7
7 16:04:39 <TELNET:45e4> DPI: 96, comboheight: 24, largebuttons: 1, hbtn: 730510a7, -dpm: 0, chkbox: 21
8 16:04:39 <TELNET:45e4> XTREE coldef cidx=0: 0~0~Font~H~HdrScale=80~HdrFont=Tahoma,9600
9 16:04:39 <TELNET:45e4> XTREE coldef cidx=0: 0~0~x~H~PopupMenu=|%miame%\icons\beta\our_customers_64.png=24|Add Client,VK_xF20001;|%miame%\icons\beta\open_64.png=24|Open in Excel,$EXPCSV+;-----,;|%miame%\icons\beta\refresh_64.png=24|Reset Columns,$RESETCFG
10 16:04:39 <TELNET:45e4> XTREE coldef cidx=0: 1~1~Color~Hb
11 16:04:39 <TELNET:45e4> XTREE coldef cidx=1: 2~1~Filter~H0UE#
12 16:04:39 <TELNET:45e4> XTREE coldef cidx=2: 3~7~Reserved~HS
13 16:04:39 <TELNET:45e4> XTREE coldef cidx=3: 10~4~Num~#H~Filter=None
14 16:04:39 <TELNET:45e4> XTREE coldef cidx=4: 14~20~Type~SH
15 16:04:39 <TELNET:45e4> XTREE coldef cidx=5: 34~20~Active~SH
16 16:04:39 <TELNET:45e4> XTREE coldef cidx=6: 54~100~Customer~S~Dspmin=3~Filter=None
17 16:04:39 <TELNET:45e4> XTREE coldef cidx=7: 154~20~DB~S|~Filter=None
18 16:04:39 <TELNET:45e4> XTREE coldef cidx=8: 174~40~Status~S|~Dspmin=3
19 16:04:39 <TELNET:45e4> XTREE coldef cidx=9: 214~50~EHR~S|
20 16:04:39 <TELNET:45e4> XTREE coldef cidx=10: 317~10~PMS
Package~S|~Dspmin=3~Filter=None
21 16:04:39 <TELNET:45e4> XTREE coldef cidx=11: 327~10~Contract
Date~D|~Dspmin=3~Filter=None
22 16:04:39 <TELNET:45e4> XTREE coldef cidx=12: 337~10~Subscription
Date~D|~Dspmin=3~Filter=None
23 16:04:39 <TELNET:45e4> XTREE coldef cidx=13: 357~10~Live
Date~D|~Dspmin=3~Filter=None
24 16:04:39 <TELNET:45e4> XTREE coldef cidx=14: 347~10~Completed
Date~D|~Dspmin=3~Filter=None
25 16:04:39 <TELNET:45e4> XTREE coldef cidx=15: 367~100~Notes~S~Dspmin=3~Filter=None
26 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgEven=234,243,255
27 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgOdd=255,255,255
28 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,150,150,R
29 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=131,201,129,G
30 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,170,Y
31 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,255,W
32 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=150,150,150,Z
33 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=100,100,100,D
34 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,182,108,O
35 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~X~H~FooterScale=90~FooterFont=Tahoma,9600
36 16:04:39 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgFooter=255,255,200
37 16:04:39 <TELNET:45e4> XTREE msg 18, id=1772
38 16:04:40 <TELNET:45e4> Coldef processing complete (250 ms)
39 16:04:40 <TELNET:45e4> XTREE msg 18, id=1772
40 16:04:40 <TELNET:45e4> 7 Items loaded / 0 deleted from data array: 0 ms
41 16:04:40 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
42 16:04:40 <TELNET:45e4> xtree_go1: clock=1794526375
43 16:04:40 <TELNET:45e4> XTREE selrow = , key =
44 16:04:40 <TELNET:45e4> Set optimization limit to 100 rows (col 15)
45 16:04:40 <TELNET:45e4> Columns optimized: 16 ms (rows=7, cols=17)
46 16:04:40 <TELNET:45e4> XTREE msg 12, id=1772
47 16:04:40 <TELNET:45e4> xtree_go: time=1794526453
48 16:04:40 <TELNET:45e4> XTREE msg 12, id=1772
49 16:04:40 <TELNET:45e4> SETFOCUS
50 16:04:42 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
51 16:04:42 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!
52 16:04:52 <TELNET:45e4> ProcessKBDClick: VK_xF10003 (mask:1)
53 16:04:52 <TELNET:45e4> xrow chg from 1 to 6 (rowidxcno=16, dsprow=0)
54 16:04:52 <TELNET:45e4> XTREE pckexit
55 16:04:52 <TELNET:45e4> XTREE exit: rtncde: 0, extcod: -10003 (-10003), xrow/col=6,0, trow/col=6,0, xvalid=0, navcod/mask=0x0/0x0, selrow=6, t/l idx=0,0, edit=0x0, icc=0
56 16:04:52 <TELNET:45e4> XtrOpt[c]: Ansary shortened from 3262 to 32 bytes (7 segments) using diff
EXITCODE=[10003]
58 16:04:53 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=1500,1000, par=2, max=41, icc=0, hwe=0
59 16:04:53 <TELNET:45e4> xtree: auto-assign ctlid 0
60 16:04:53 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=2, trow/col=0,0, iaclick=0,0, lastxc=0, max=41
61 16:04:53 <TELNET:45e4> Coldef processing complete (0 ms)
62 16:04:53 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
63 16:04:53 <TELNET:45e4> XTREE selrow = , key =
64 16:04:59 <TELNET:45e4> XTREE: checking contextmenu row=14 (366), col=15 (402), px=1, bPcklst=1
65 16:04:59 <TELNET:45e4> XTREE: processing contextmenu: row=14, col=15, px=0
66 16:04:59 <TELNET:45e4> Sysmsgv(SBRMSG,26,10) cache error!
67 16:04:59 <TELNET:45e4> Sysmsgv(SBRMSG,26,14) cache error!
68 16:04:59 <TELNET:45e4> Sysmsgv(SBRMSG,26,8) cache error!
69 16:05:01 <TELNET:45e4> Adjusting fonts by 0%...
70 16:05:01 <TELNET:45e4> Updating cells...
71 16:05:01 <TELNET:45e4> Font housekeeping...
72 16:05:01 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=0, colflags=8001,0,20000
73 16:05:03 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
74 16:05:04 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34788 30 Nov 21 09:54 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Something fishy here. We should see traces that look like this:
Code
34 13:47:22 <XTRA5:c6f> Splitter opt pos: 445, tree width: 1167


Does your About box show a Release Date of 20-Nov-2021?

I'm wondering whether there was some mix-up in the upload or the download. But just to be sure, I've just recompiled it (release date now shows 30-Nov) and changed the link slightly (adding an 'a'), so let's give it one more try:
ash-6.5.1709.0a-w32c-upd.zip

Also, can you confirm your xtr.leftpanewidth and xtr.leftpanecols values? (They don't show in the trace).

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34789 30 Nov 21 10:18 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
I am not seeing the (a) rev here... the date is today?

leftpanelcols=9 (taking into consideration all the hidden cols)

leftpanelwidth=?? this value is not set... so assuming 0

Attached Files Capture.PNG
Last edited by Frank; 30 Nov 21 10:20 PM.
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34790 30 Nov 21 10:32 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Triple checked the install area even clicked one .exe from explorer to be sure and comes up the same each time.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34791 30 Nov 21 11:00 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
This is pretty baffling. The About box looks right, but if you have leftpanecols > 0 and leftpanewidth = 0 then it should be calling the routine to calculate the pane position, in which case you should get the splitter traces.

Aside from when you load the tree, another way to force that calculation would be with Control+ or Control- to adjust the font size.

Just to be sure about those leftpane values, I've posted yet another version which will display them (but it requires the XTREE and XDEBUG traces)...

ash-6.5.1709.0b-w32c-upd.zip

The info appears as follows:
Code
61 14:57:52 <XTRA5:c6f>  xtree_go: time=438885203, leftsplit=8,0


Since that trace is already present in your trace log (without the leftsplit suffix), we should be able to confirm definitely whether you have the right exe and/or right values. If that doesn't get us anywhere, we may have to revise setting up a direct connection for me to be able step through it.

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34792 01 Dec 21 03:13 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Agreed the wild goose chase might not be the best way to triage this... in the meantime here is the xtree/xdebug trace. Seems there are some newer messages here. Also, hitting ctrl+/- does recalculate the display correctly adding the panel back.

0 10:04:50 <TELNET:45e4> SETFOCUS
1 10:04:50 <TELNET:45e4> SETFOCUS
2 10:04:50 <TELNET:45e4> wait on socket: 10:04:38 .....
3 10:04:56 <TELNET:45e4> wait on socket: 10:04:53 ...
4 10:04:59 <TELNET:45e4> SETFOCUS
5 10:04:59 <TELNET:45e4> after sendkbdstr: 1,1
, icc=0, buf[0]=0
6 10:04:59 <TELNET:45e4> xtab: loading functions
7 10:04:59 <TELNET:45e4> after sendkbdstr: 0,2
, icc=0, buf[0]=0
8 10:05:00 <TELNET:45e4> Loading SftTree_IX86_U_75
9 10:05:00 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=12000,1000, par=2, max=7, icc=0, hwe=0
10 10:05:00 <TELNET:45e4> xtree: auto-assign ctlid 0
11 10:05:00 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=2, trow/col=0,0, iaclick=0,0, lastxc=0, max=7
12 10:05:00 <TELNET:45e4> xtree: loading split functions
13 10:05:00 <TELNET:45e4> DPI: 96, comboheight: 24, largebuttons: 1, hbtn: 23051273, -dpm: 0, chkbox: 21
14 10:05:00 <TELNET:45e4> XTREE coldef cidx=0: 0~0~Font~H~HdrScale=80~HdrFont=Tahoma,9600
15 10:05:00 <TELNET:45e4> XTREE coldef cidx=0: 0~0~x~H~PopupMenu=|%miame%\icons\beta\our_customers_64.png=24|Add Client,VK_xF20001;|%miame%\icons\beta\open_64.png=24|Open in Excel,$EXPCSV+;-----,;|%miame%\icons\beta\refresh_64.png=24|Reset Columns,$RESETCFG
16 10:05:00 <TELNET:45e4> XTREE coldef cidx=0: 1~1~Color~Hb
17 10:05:00 <TELNET:45e4> XTREE coldef cidx=1: 2~1~Filter~H0UE#
18 10:05:00 <TELNET:45e4> XTREE coldef cidx=2: 3~7~Reserved~HS
19 10:05:00 <TELNET:45e4> XTREE coldef cidx=3: 10~4~Num~#H~Filter=None
20 10:05:00 <TELNET:45e4> XTREE coldef cidx=4: 14~20~Type~SH
21 10:05:00 <TELNET:45e4> XTREE coldef cidx=5: 34~20~Active~SH
22 10:05:00 <TELNET:45e4> XTREE coldef cidx=6: 54~100~Customer~S~Dspmin=3~Filter=None
23 10:05:00 <TELNET:45e4> XTREE coldef cidx=7: 154~20~DB~S|~Filter=None
24 10:05:00 <TELNET:45e4> XTREE coldef cidx=8: 174~40~Status~S|~Dspmin=3
25 10:05:00 <TELNET:45e4> XTREE coldef cidx=9: 214~50~EHR~S|
26 10:05:00 <TELNET:45e4> XTREE coldef cidx=10: 317~10~PMS
Package~S|~Dspmin=3~Filter=None
27 10:05:00 <TELNET:45e4> XTREE coldef cidx=11: 327~10~Contract
Date~D|~Dspmin=3~Filter=None
28 10:05:00 <TELNET:45e4> XTREE coldef cidx=12: 337~10~Subscription
Date~D|~Dspmin=3~Filter=None
29 10:05:00 <TELNET:45e4> XTREE coldef cidx=13: 357~10~Live
Date~D|~Dspmin=3~Filter=None
30 10:05:00 <TELNET:45e4> XTREE coldef cidx=14: 347~10~Completed
Date~D|~Dspmin=3~Filter=None
31 10:05:00 <TELNET:45e4> XTREE coldef cidx=15: 367~100~Notes~S~Dspmin=3~Filter=None
32 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgEven=234,243,255
33 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgOdd=255,255,255
34 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,150,150,R
35 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=131,201,129,G
36 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,170,Y
37 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,255,W
38 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=150,150,150,Z
39 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=100,100,100,D
40 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,182,108,O
41 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=0,128,255,B
42 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~X~H~FooterScale=90~FooterFont=Tahoma,9600
43 10:05:00 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgFooter=255,255,200
44 10:05:00 <TELNET:45e4> XTREE msg 18, id=1772
45 10:05:00 <TELNET:45e4> Coldef processing complete (250 ms)
46 10:05:00 <TELNET:45e4> XTREE msg 18, id=1772
47 10:05:00 <TELNET:45e4> 7 Items loaded / 0 deleted from data array: 0 ms
48 10:05:00 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
49 10:05:00 <TELNET:45e4> xtree_go1: clock=1859349250
50 10:05:00 <TELNET:45e4> XTREE selrow = , key =
51 10:05:00 <TELNET:45e4> Set optimization limit to 100 rows (col 15)
52 10:05:00 <TELNET:45e4> Columns optimized: 16 ms (rows=7, cols=17)
53 10:05:00 <TELNET:45e4> XTREE msg 12, id=1772
54 10:05:00 <TELNET:45e4> Splitter opt pos: 1065, tree width: 1231
55 10:05:00 <TELNET:45e4> Splitter recalc pos: 0
56 10:05:00 <TELNET:45e4> xtree_go: time=1859349328, leftsplit=9,0 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
57 10:05:00 <TELNET:45e4> XTREE msg 12, id=1772
58 10:05:00 <TELNET:45e4> Splitter opt pos: 0, tree width: 1231
59 10:05:00 <TELNET:45e4> XTREE msg 22, id=1772
60 10:05:00 <TELNET:45e4> SETFOCUS
61 10:05:07 <TELNET:45e4> XTREE msg 23, id=1772
62 10:05:09 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
63 10:05:09 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34793 01 Dec 21 05:36 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Ok, we've confirmed that you have the latest version, and that you have leftpanecols=9 and leftpanewidth=0.
Also, the trace suggests that XTREE thinks that those 9 columns on the left have a combined width of 0????
What I'd like to see is the trace of your Control+ operation (which you say fixes the problem).

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34795 01 Dec 21 09:09 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
That would make sense right? Since the panel is slammed as far to the left as possible... Unfortunately i can't give you xdebug as it seems to grab all the program inputs... so here is xtree trace after hitting ctrl/-

0 16:09:48 <TELNET:45e4> Adjusting fonts by -10%...
1 16:09:48 <TELNET:45e4> Updating cells...
2 16:09:48 <TELNET:45e4> Font housekeeping...
3 16:09:48 <TELNET:45e4> Splitter opt pos: 388, tree width: 1231
4 16:10:02 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
5 16:10:02 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34797 02 Dec 21 12:23 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
There are a couple of mysteries here - one is why the initial auto-positioned splitter bar is so far to the right (1065 out of a total tree width of 1231, compared to the eventual position at 388), and why when we manually try to recalculate where it should go, all the columns are marked as invisible and thus zero width.

I'm not sure it makes sense to keep digging deeper into this rabbit hole, but I guess there is no harm in adding a fail-safe to avoid extreme positions. Feel free to try this one...

ash-6.5.1709.0c-w32c-upd.zip

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #34800 02 Dec 21 04:59 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
OK now the splitter is way out to the right. It seems like it is taking the hidden cols into consideration in the panel calculation. Perhaps it's just not going to work if you hide a column to the left of the split. We do agree on one thing we aren't getting anywhere... i will wait until i have a prototype for you to play with or you can create on your side. Moving on for now.


3 11:58:13 <TELNET:45e4> SETFOCUS
4 11:58:15 <TELNET:45e4> wait on socket: 11:58:05 .....
5 11:58:17 <TELNET:45e4> SETFOCUS
6 11:58:17 <TELNET:45e4> after sendkbdstr: 1,1
, icc=0, buf[0]=0
7 11:58:17 <TELNET:45e4> after sendkbdstr: 0,2
, icc=0, buf[0]=0
8 11:58:17 <TELNET:45e4> XTREE begin: ctlno=-1, op=0, flags=2204e0ff,801000, tgt=0,0, t/l idx=0,0, navcd/msk=0x0/0x0, pos=12000,1000, par=2, max=7, icc=0, hwe=0
9 11:58:17 <TELNET:45e4> xtree: auto-assign ctlid 0
10 11:58:17 <TELNET:45e4> xtree in: op=0, ctlno=0, active=7, par=2, trow/col=0,0, iaclick=0,0, lastxc=0, max=7
11 11:58:17 <TELNET:45e4> DPI: 96, comboheight: 24, largebuttons: 1, hbtn: 3f0509b2, -dpm: 0, chkbox: 21
12 11:58:17 <TELNET:45e4> XTREE coldef cidx=0: 0~0~Font~H~HdrScale=80~HdrFont=Tahoma,9600
13 11:58:17 <TELNET:45e4> XTREE coldef cidx=0: 0~0~x~H~PopupMenu=|%miame%\icons\beta\our_customers_64.png=24|Add Client,VK_xF20001;|%miame%\icons\beta\open_64.png=24|Open in Excel,$EXPCSV+;-----,;|%miame%\icons\beta\refresh_64.png=24|Reset Columns,$RESETCFG
14 11:58:17 <TELNET:45e4> XTREE coldef cidx=0: 1~1~Color~Hb
15 11:58:17 <TELNET:45e4> XTREE coldef cidx=1: 2~1~Filter~H0UE#
16 11:58:17 <TELNET:45e4> XTREE coldef cidx=2: 3~7~Reserved~HS
17 11:58:17 <TELNET:45e4> XTREE coldef cidx=3: 10~4~Num~#H~Filter=None
18 11:58:17 <TELNET:45e4> XTREE coldef cidx=4: 14~20~Type~SH
19 11:58:17 <TELNET:45e4> XTREE coldef cidx=5: 34~20~Active~SH
20 11:58:17 <TELNET:45e4> XTREE coldef cidx=6: 54~100~Customer::Total: 7~S~Dspmin=3~Filter=None
21 11:58:17 <TELNET:45e4> XTREE coldef cidx=7: 154~20~DB~S|~Filter=None
22 11:58:17 <TELNET:45e4> XTREE coldef cidx=8: 174~40~Status~S|~Dspmin=3
23 11:58:17 <TELNET:45e4> XTREE coldef cidx=9: 214~50~EHR~S|
24 11:58:17 <TELNET:45e4> XTREE coldef cidx=10: 317~10~PMS
Package~S|~Dspmin=3~Filter=None
25 11:58:17 <TELNET:45e4> XTREE coldef cidx=11: 327~10~Contract
Date~D|~Dspmin=3~Filter=None
26 11:58:17 <TELNET:45e4> XTREE coldef cidx=12: 337~10~Subscription
Date~D|~Dspmin=3~Filter=None
27 11:58:17 <TELNET:45e4> XTREE coldef cidx=13: 357~10~Live
Date~D|~Dspmin=3~Filter=None
28 11:58:17 <TELNET:45e4> XTREE coldef cidx=14: 347~10~Completed
Date~D|~Dspmin=3~Filter=None
29 11:58:17 <TELNET:45e4> XTREE coldef cidx=15: 367~100~Notes~S~Dspmin=3~Filter=None
30 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgEven=234,243,255
31 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgOdd=255,255,255
32 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,150,150,R
33 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=131,201,129,G
34 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,170,Y
35 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,255,255,W
36 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=150,150,150,Z
37 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=100,100,100,D
38 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=255,182,108,O
39 11:58:17 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbg=0,128,255,B
40 11:58:18 <TELNET:45e4> XTREE coldef cidx=16: 0~0~X~H~FooterScale=80~FooterFont=Tahoma,9600
41 11:58:18 <TELNET:45e4> XTREE coldef cidx=16: 0~0~x~H~RGBbgFooter=255,255,200
42 11:58:18 <TELNET:45e4> XTREE msg 18, id=1772
43 11:58:18 <TELNET:45e4> Coldef processing complete (219 ms)
44 11:58:18 <TELNET:45e4> XTREE msg 18, id=1772
45 11:58:18 <TELNET:45e4> 7 Items loaded / 0 deleted from data array: 0 ms
46 11:58:18 <TELNET:45e4> Sorting col 6, order 0, ctrlkey=fffffc19, flags=80000000, colflags=8001,0,20000
47 11:58:18 <TELNET:45e4> xtree_go1: clock=1952546812
48 11:58:18 <TELNET:45e4> XTREE selrow = , key =
49 11:58:18 <TELNET:45e4> Set optimization limit to 100 rows (col 15)
50 11:58:18 <TELNET:45e4> Columns optimized: 31 ms (rows=7, cols=17)
51 11:58:18 <TELNET:45e4> XTREE msg 12, id=1772
52 11:58:18 <TELNET:45e4> Splitter opt pos: 1065, tree width: 1231
53 11:58:18 <TELNET:45e4> Splitter recalc pos: 0
54 11:58:18 <TELNET:45e4> xtree_go: time=1952546921, leftsplit=9,0
55 11:58:18 <TELNET:45e4> XTREE msg 12, id=1772
56 11:58:18 <TELNET:45e4> Splitter opt pos: 1065, tree width: 1231
57 11:58:18 <TELNET:45e4> Splitter recalc pos: 0
58 11:58:18 <TELNET:45e4> XTREE msg 22, id=1772
59 11:58:18 <TELNET:45e4> XTREE msg 24, id=1772
60 11:58:18 <TELNET:45e4> SETFOCUS
61 11:58:19 <TELNET:45e4> XTREE msg 24, id=1772
62 11:58:19 <TELNET:45e4> XTREE msg 24, id=1772
63 11:58:19 <TELNET:45e4> XTREE msg 24, id=1772
64 11:58:19 <TELNET:45e4> XTREE msg 24, id=1772
65 11:58:19 <TELNET:45e4> XTREE msg 23, id=1772
66 11:58:20 <TELNET:45e4> Sysmsgv(SYSMSG,4,13) cache error!
67 11:58:20 <TELNET:45e4> Sysmsgv(SYSMSG,4,14) cache error!

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #35538 31 Aug 22 11:58 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
For what it's worth, I added a new alternative/workaround for this problem of optimizing the position of the splitter. As of 6.5.1720.0, you can set XTR.LEFTPANEWIDTH = -2 to force XTREE to use it's own logic for estimating the optimum position (instead of using the control's internal logic if you set XTR.LEFTPANEWIDTH = 0). It's now available for testing in this beta version...

ash-6.5.1720.0-w32-upd.zip

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #35543 01 Sep 22 09:51 AM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Hi,
The initial position of the split bar is something that I stop bothering a long ago because never was able to have full control of it, but now that you brought it up, I revisited one of my problematic XTREEs and here is my diagnostic.

1. Using xtr.leftpanewidth = 0
On the first CREATE, the split bar is not correct but after REFRESH, that also uses XTROP'CREATE, the split bar goes to the correct position.
(in picture 1, the red arrow should point to an XTREE with the split bar in the right position but it got truncated, consider picture #3 to ilustrate the result after the REFRESH)
2. Using the new xtr.leftpanewidth = -2
Neither on the first CREATE nor after REFRESH, the split bar goes to the right postion, it's always in the wrong place.
3. Defining Dspwid to each column on the left pane and assigning the sum of them to xtr.leftpanewidth
The split bar is always on the right position.

NOTE: Both columns have explicit Dspwid, 9 and 12 respectively.

I believe that any logic to calculate this automatically is very difficult considering all possible combinations for font size, resolution and other settings for display.
According the documentation:
If zero, then XTREE will try to determine the optimum width by adding up the optimum display widths of the initially visible rows.

Wouldn't it be the case to sum the Dspwid of the columns when explicitely defined?

Anyway, many thanks to bring this up because, now I have a method to make it work.

Attached Files leftpanewidth_zero.pngleftpanewidth_minustwo.pngleftpanewidth_dspwid.png
Last edited by Jorge Tavares - UmZero; 01 Sep 22 09:58 AM.

Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #35545 01 Sep 22 03:30 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Thanks for the detailed feedback, even if it isn't all positive. To answer your last question: yes, that seems very sensible (i.e. why not at least check to see if the columns to the left of the splitter all have defined Dspwid values, and if so, use them?) This latest patch (for LEFTPANEWIDTH = -2) was put in at the last minute and I didn't really give it as much thought as it probably deserves. The one concern I have about automatically using the Dspwid values (if available) is that I'm not sure what happens when there is "special space" on the far left for the purpose of multi-level indicators or item icons, which I don't think get included in the Dspwid for the first column because they technically aren't part of that column, yet they would need to be taken into account. In theory the built-in optimization should handle that (if it only worked!). And I'm not sure if the -2 workaround does or not.

Let me play with this a bit more ...

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #35555 01 Sep 22 10:04 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I redid the LEFTPANEWIDTH = -2 logic to fix a couple of problems in 6.5.1720.1. There are still cases, particularly involving SHOWROWHDR, where it seems to come up a bit short, but it definitely seems improved from the prior version ...


ash-6.5.1720.1-w32-upd.zip
ash-6.5.1720.1-w32c-upd.zip
ash65notes.txt

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #35556 02 Sep 22 12:22 AM
Joined: Jun 2001
Posts: 3,406
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,406
Definitely improved and, also, I agree that it looks tight with the limit of the right most column from the left panel, maybe a few extra pixels could make it breath.

Thanks


Jorge Tavares

UmZero - SoftwareHouse
Brasil/Portugal
Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #35557 02 Sep 22 01:01 AM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
I guess you could say we run a tight ship! cool

Then again, maybe we need to go back to the very beginning of this thread (where Steve first wondered about the possibility of a fudge factor a add a few more pixels!) On the other hand, given the long circular path this has taken us on, do we dare?

Page 1 of 2 1 2

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3