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.
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.
>> 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.
If memory serves me right he must be at it for at least 15 years. !
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.
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.
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.
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.
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.
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
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.