Index
2019-01-05 19:36 – Gene Wirchenko : Custom Scrollbar
2019-01-06 02:42 – Koen Piller : Re: Custom Scrollbar
2019-01-06 10:13 – <juergen@wondzinski.de>: AW: Custom Scrollbar
2019-01-06 10:18 – Jean Laeremans : Re: Custom Scrollbar
2019-01-06 23:20 – Gene Wirchenko : Re: AW: Custom Scrollbar
2019-01-06 23:22 – Gene Wirchenko : Re: Custom Scrollbar
2019-01-07 04:15 – Alan Bourke : Re: Custom Scrollbar
2019-01-07 05:18 – Fernando D. Bozzo : Re: AW: Custom Scrollbar
2019-01-07 06:43 – Koen Piller : Re: AW: Custom Scrollbar
2019-01-07 08:15 – Dave Crozier : RE: Custom Scrollbar
Back to top
Custom Scrollbar

Author: Gene Wirchenko

Posted: 2019-01-05 19:36:15   Link

Hello:

I want to create my own grid. I am slowly making progress. I

have decided that I need my own scrollbar control.

It appears that a combination of Image controls will do what I

need -- but do you have some other ideas? -- but I have not worked

with VFP graphics.

Now, I need to define some icons/images. What software do you

recommend for creating these at the pixel level? I would like to be

able to duplicate the appearance (colourwise) so I would like to be

able to pick the colours off existing VFP controls (especially

scrollbars) as well.

One issue that I am concerned with is being able to have a

scrollbar stretched and still look good. How does one stretch an

Image properly?

Is there anything you think I am not considering but should?

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/fd8ca3149f93d983c8297e0f4acb4313@mtlp000087

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Gene Wirchenko
Back to top
Re: Custom Scrollbar

Author: Koen Piller

Posted: 2019-01-06 02:42:58   Link

Hi

There are several Custom made scrollcontainers around, Google for it. The

most sofisticated for me is made by Carlos Aliotti but also Graig Boyd made

a very good working class.

For graphic in VFP you cant work without GDIplus, check Cesar Chaloms blog

for Some inventive procedures.

Regards

Koen

Op zo 6 jan. 2019 om 02:36 schreef Gene Wirchenko <genew@telus.net>

> Hello:

>

> I want to create my own grid. I am slowly making progress. I

> have decided that I need my own scrollbar control.

>

> It appears that a combination of Image controls will do what I

> need -- but do you have some other ideas? -- but I have not worked

> with VFP graphics.

>

> Now, I need to define some icons/images. What software do you

> recommend for creating these at the pixel level? I would like to be

> able to duplicate the appearance (colourwise) so I would like to be

> able to pick the colours off existing VFP controls (especially

> scrollbars) as well.

>

> One issue that I am concerned with is being able to have a

> scrollbar stretched and still look good. How does one stretch an

> Image properly?

>

> Is there anything you think I am not considering but should?

>

> Sincerely,

>

> Gene Wirchenko

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACUu1Su1VMuKo-S=Cr+-iP=Chj-sainjw3FFb4tmvg7xOA2OFg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Koen Piller
Back to top
AW: Custom Scrollbar

Author: <juergen@wondzinski.de>

Posted: 2019-01-06 10:13:50   Link

>> I want to create my own grid

WHY, just WHY?

Haven't yet found a problem for which I would need a homegrown grid.

What can't you do in VFP's native grid, in combination with the excellent

container hierarchy which you could add into any / every column of a grid?

Build a set of controls, save them as class, add that class to the Column,

change Column.CurrentControl to point to that class, set Column.Sparse to

.F. and presto, you can do any complicated setup and stil have the benefits

of VFP's native gridspeed.

wOOdy

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/019d01d4a5da$cfdfa0e0$6f9ee2a0$@wondzinski.de

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 <juergen@wondzinski.de>
Back to top
Re: Custom Scrollbar

Author: Jean Laeremans

Posted: 2019-01-06 10:18:49   Link

If memory serves me right he must be at it for at least 15 years. !

©2019 Jean Laeremans
Back to top
Re: AW: Custom Scrollbar

Author: Gene Wirchenko

Posted: 2019-01-06 23:20:20   Link

At 08:13 2019-01-06, <juergen@wondzinski.de> wrote:

> >> I want to create my own grid

>

>WHY, just WHY?

Because the VFP grid does not work.

>Haven't yet found a problem for which I would need a homegrown grid.

>What can't you do in VFP's native grid, in combination with the excellent

>container hierarchy which you could add into any / every column of a grid?

Full validation of a row.

I came close, but it required a lot of kludges and an innocent

change in one place could blow it up.

>Build a set of controls, save them as class, add that class to the Column,

>change Column.CurrentControl to point to that class, set Column.Sparse to

>.F. and presto, you can do any complicated setup and stil have the benefits

>of VFP's native gridspeed.

I wish.

One of the things that Grid is supposedly not for is data

entry. I need a grid that can handle that.

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/d3e7c8e925ef9658f59e62571a4e9cb3@mtlp000084

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Gene Wirchenko
Back to top
Re: Custom Scrollbar

Author: Gene Wirchenko

Posted: 2019-01-06 23:22:11   Link

At 08:18 2019-01-06, Jean Laeremans <laeremans.jeanmarie@gmail.com> wrote:

>If memory serves me right he must be at it for at least 15 years.

No, it is just that I have never had the free time to go all

the way with it. (It is lower priority than my other work.) During

that time, I have tried to make VFP's Grid work and have failed

despite solid efforts.

[snip]

Sincerely,

Gene Wirchenko

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/f4d13cba68c15d53e75244bdc3b98ee7@mtlp000085

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Gene Wirchenko
Back to top
Re: Custom Scrollbar

Author: Alan Bourke

Posted: 2019-01-07 04:15:56   Link

Would it not be more cost effective to look at something like iGrid ActiveX which is $275 for a single developer than expend your time rolling your own?

--

Alan Bourke

alanpbourke (at) fastmail (dot) fm

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1546856156.1019298.1627512592.71BA70D3@webmail.messagingengine.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Alan Bourke
Back to top
Re: AW: Custom Scrollbar

Author: Fernando D. Bozzo

Posted: 2019-01-07 05:18:55   Link

Hi Gene,

About this:

>"One of the things that Grid is supposedly not for is data

entry"

I don't agree. Not sure about the complexity of what you need to do, but if

you used FoxPro before VFP, you could remember that before the grid

component was the BROWSE command with many parameters that allowed many

validations and options for row/column, and that many validations and

options where made exactly for that purpose, for data entry. Most of them

have no sense for other purpose than data entry.

One of my first programming challenges was to do a component exactly as you

need it to (I'm talking about dBase III+ era), and could do it, but the

problem was that performed horribly, too slow to navigate records and

columns.

I think that you could face the same problem. Do not forget that you have

to control each and every aspect of the component, as:

- Scrolling left/right controlling start and end columns

- Scrolling top/bottom controlling start and end rows

- Controlling the data you load/unload, because you can't load a millon

records in memory, and this forces you to control dinamically the loading

of a new bunch of records in the direction you are navigating, and

unloading records from the other side

- Controlling every key for navigation and other needed purposes

- Controlling the visualization of each aspect of your info (think on

Autosizing columns, pre-programmed sizes, combination of both, assuring

that you show columns correctly and fluently ,etc)

- More things you may ancounter

Obviously I'm thinking in a component that can be used for any table, and

not just for one special table, because the programming effort to do this

type of component is too high to do it for just one table.

Don't know if you already said this because I didn't follow the entire

thread, but:

What type of validation do you need, and what is the problem you are facing

that can't be handled with the grid?

And more importantly: Is really a grid what you need? why can't you use an

input form with navigation keys that scrolls data in background?

Best Regards!

El lun., 7 ene. 2019 a las 6:20, Gene Wirchenko (<genew@telus.net>)

escribió:

> At 08:13 2019-01-06, <juergen@wondzinski.de> wrote:

> > >> I want to create my own grid

> >

> >WHY, just WHY?

>

> Because the VFP grid does not work.

>

> >Haven't yet found a problem for which I would need a homegrown grid.

> >What can't you do in VFP's native grid, in combination with the excellent

> >container hierarchy which you could add into any / every column of a grid?

>

> Full validation of a row.

>

> I came close, but it required a lot of kludges and an innocent

> change in one place could blow it up.

>

> >Build a set of controls, save them as class, add that class to the Column,

> >change Column.CurrentControl to point to that class, set Column.Sparse to

> >.F. and presto, you can do any complicated setup and stil have the

> benefits

> >of VFP's native gridspeed.

>

> I wish.

>

> One of the things that Grid is supposedly not for is data

> entry. I need a grid that can handle that.

>

> Sincerely,

>

> Gene Wirchenko

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAGQ_Ju=v1uvYPM_nOhS-B0v31PpR2nbbAzaWMknZqw2CRHEV0A@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Fernando D. Bozzo
Back to top
Re: AW: Custom Scrollbar

Author: Koen Piller

Posted: 2019-01-07 06:43:49   Link

Gene

The native VFP grid can handle datahandling perfectly. Please explain why

you differ on opinion

Koen

Op ma 7 jan. 2019 om 12:19 schreef Fernando D. Bozzo <fdbozzo@gmail.com>

> Hi Gene,

>

> About this:

>

> >"One of the things that Grid is supposedly not for is data

> entry"

>

> I don't agree. Not sure about the complexity of what you need to do, but if

> you used FoxPro before VFP, you could remember that before the grid

> component was the BROWSE command with many parameters that allowed many

> validations and options for row/column, and that many validations and

> options where made exactly for that purpose, for data entry. Most of them

> have no sense for other purpose than data entry.

>

> One of my first programming challenges was to do a component exactly as you

> need it to (I'm talking about dBase III+ era), and could do it, but the

> problem was that performed horribly, too slow to navigate records and

> columns.

> I think that you could face the same problem. Do not forget that you have

> to control each and every aspect of the component, as:

>

> - Scrolling left/right controlling start and end columns

> - Scrolling top/bottom controlling start and end rows

> - Controlling the data you load/unload, because you can't load a millon

> records in memory, and this forces you to control dinamically the loading

> of a new bunch of records in the direction you are navigating, and

> unloading records from the other side

> - Controlling every key for navigation and other needed purposes

> - Controlling the visualization of each aspect of your info (think on

> Autosizing columns, pre-programmed sizes, combination of both, assuring

> that you show columns correctly and fluently ,etc)

> - More things you may ancounter

>

> Obviously I'm thinking in a component that can be used for any table, and

> not just for one special table, because the programming effort to do this

> type of component is too high to do it for just one table.

>

> Don't know if you already said this because I didn't follow the entire

> thread, but:

> What type of validation do you need, and what is the problem you are facing

> that can't be handled with the grid?

>

> And more importantly: Is really a grid what you need? why can't you use an

> input form with navigation keys that scrolls data in background?

>

> Best Regards!

>

>

> El lun., 7 ene. 2019 a las 6:20, Gene Wirchenko (<genew@telus.net>)

> escribió:

>

> > At 08:13 2019-01-06, <juergen@wondzinski.de> wrote:

> > > >> I want to create my own grid

> > >

> > >WHY, just WHY?

> >

> > Because the VFP grid does not work.

> >

> > >Haven't yet found a problem for which I would need a homegrown grid.

> > >What can't you do in VFP's native grid, in combination with the

> excellent

> > >container hierarchy which you could add into any / every column of a

> grid?

> >

> > Full validation of a row.

> >

> > I came close, but it required a lot of kludges and an innocent

> > change in one place could blow it up.

> >

> > >Build a set of controls, save them as class, add that class to the

> Column,

> > >change Column.CurrentControl to point to that class, set Column.Sparse

> to

> > >.F. and presto, you can do any complicated setup and stil have the

> > benefits

> > >of VFP's native gridspeed.

> >

> > I wish.

> >

> > One of the things that Grid is supposedly not for is data

> > entry. I need a grid that can handle that.

> >

> > Sincerely,

> >

> > Gene Wirchenko

> >

> >

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CACUu1StEEy0SxKUwwGJENjigEqXDF-Co0r4Q112eNMBXYcXADQ@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Koen Piller
Back to top
RE: Custom Scrollbar

Author: Dave Crozier

Posted: 2019-01-07 08:15:36   Link

Or use the MSGrid component that is free but only works using datasets.

Dave Crozier

Software Development Manager

Flexipol Packaging Ltd.

﴾⚆ᨎ⚆﴿

Flexipol® Packaging Ltd

T 01706 222 792

E DCrozier@flexipol.co.uk

W https://www.flexipol.co.uk/

Follow us:

Unit 14 Bentwood Road, Carrs Industrial Estate, Haslingden, Lancashire, BB4 5HH

​This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be protected in law. If you have received this e-mail in error you must not copy, distribute or take any action in reliance on it. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.

Flexipol Packaging Ltd. has taken every reasonable precaution to minimise the risk of virus transmission through email and therefore any files sent via e-mail will have been checked for known viruses. However, you are advised to run your own virus check before opening any attachments received as Flexipol Packaging Ltd will not in any event accept any liability whatsoever once an e-mail and/or any attachment is received.

It is the responsibility of the recipient to ensure that they have adequate virus protection.

-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

​​

​Terms & Conditions:

Notwithstanding delivery and the passing of risk in the goods, the property in the goods shall not pass to the buyer until the seller Flexipol Packaging Ltd. ("The Company") has received in cash or cleared funds payment in full of the price of the goods and all other goods agreed to be sold by the seller to the buyer for which payment is then due. Until such time as the property in the goods passes to the buyer, the buyer shall hold the goods as the seller's fiduciary agent and bailee and keep the goods separate from those of the buyer and third parties and properly stored protected and insured and identified as the seller's property but shall be entitled to resell or use the goods in the ordinary course of its business. Until such time as the property in the goods passes to the buyer the seller shall be entitled at any time

-----Original Message-----

From: ProfoxTech <profoxtech-bounces@leafe.com> On Behalf Of Alan Bourke

Sent: 07 January 2019 10:16

To: profoxtech@leafe.com

Subject: Re: Custom Scrollbar

Would it not be more cost effective to look at something like iGrid ActiveX which is $275 for a single developer than expend your time rolling your own?

--

Alan Bourke

alanpbourke (at) fastmail (dot) fm

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CWLP265MB08526244463E20173F485F14FB890@CWLP265MB0852.GBRP265.PROD.OUTLOOK.COM

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2019 Dave Crozier