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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
Yes thanks Herman

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32663 14 May 20 07:57 PM
Joined: Jun 2001
Posts: 3,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
I feel honored 😀

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32670 15 May 20 12:24 AM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
(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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
(thumbs-up)

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32696 18 May 20 02:07 PM
Joined: Sep 2003
Posts: 4,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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
Joined: Aug 2001
Posts: 2,645
H
Herman Roehm Offline
Member
Offline
Member
H
Joined: Aug 2001
Posts: 2,645
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
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,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
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,135
Steve - Caliq Offline OP
Member
OP Offline
Member
Joined: Sep 2003
Posts: 4,135
Thanks Jorge. smile

Re: XTree - XTF_SPLIT [Re: Steve - Caliq] #32716 19 May 20 04:26 PM
Joined: Sep 2002
Posts: 5,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,376
J
Jorge Tavares - UmZero Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 3,376
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,192
S
Stephen Funkhouser Online Content
Member
Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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,450
F
Frank Online Content
Member
Online Content
Member
F
Joined: Sep 2002
Posts: 5,450
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
Page 1 of 2 1 2

Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3