New control - splitNcontrol

Share Tips, Code Samples, etc. with the Visual Prolog community.
Post Reply
Steve Lympany
VIP Member
Posts: 695
Joined: 31 Mar 2001 23:01

New control - splitNcontrol

Post by Steve Lympany » 28 Jan 2009 10:44

Here is a small project that has a new control, based on split2control, but allows multiple panes arranged horizontally.

It's limited to 4 panes at the moment, but you can change the limit in the .pro file.
Steve Lympany

User avatar
Apostol Asparuhov
Active Member
Posts: 35
Joined: 18 Dec 2000 0:01

Post by Apostol Asparuhov » 28 Jan 2009 15:23

Hi Steve,

Could you, please, explain how to hack/manage Minimise and Maximise buttons on myform form.

Best regard,

Apostol :oops: :roll:

Steve Lympany
VIP Member
Posts: 695
Joined: 31 Mar 2001 23:01

Post by Steve Lympany » 28 Jan 2009 21:35

Hi,
Didn't notice that. I've added an invalidate on an e_user event. Seem to be OK now. Thanks.
regards
Steve
Attachments
dev_splitNContrrol.zip
Split N control update
(35.06 KiB) Downloaded 972 times

User avatar
Apostol Asparuhov
Active Member
Posts: 35
Joined: 18 Dec 2000 0:01

Post by Apostol Asparuhov » 28 Jan 2009 23:45

Dear Steve,

Now it's great^2 :D :D :D :D :D :idea:

Thank you very much for this tip (I mean Min&Max-imise hacking)- that's what I've searched!
And of course - for the all example!

Best regards,

Apostol

Steve Lympany
VIP Member
Posts: 695
Joined: 31 Mar 2001 23:01

Post by Steve Lympany » 18 Mar 2009 10:59

Here is an update that allows horizontal and vertical splits.

The example project has 3 splits in one form.
[img]http://www.analytical-databases.co.uk/splitncontrol.jpg[/img]
Steve
Attachments
dev_splitNControl_2.zip
(32.91 KiB) Downloaded 839 times

Steve Lympany
VIP Member
Posts: 695
Joined: 31 Mar 2001 23:01

Post by Steve Lympany » 30 Nov 2010 11:27

Hello,
Here's a small update - it's a complete VIP7.3 project (but you may be able to use it with earlier VIP7 compilers.

Steve
Attachments
dev_splitNcontrol.zip
(49.39 KiB) Downloaded 702 times

Post Reply