Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tabbing controls on a form contained in a formset

Status
Not open for further replies.

weedz

Programmer
Dec 5, 2000
718
NL
Hi you'all,

I am currently using the follwing:

A formset with three forms:
- A toolbar a business object (invisible)
- A form used to show a list
- A form to show detailed data.

The detailed data is shown on containers on different pages of a pageframe.

I have the following odd behaviour.

When I show my data form (always after the list form), I can tab from control to control on the first page of the pageframe...but...when I reach the last control on page1 tabbing does not take me to another control but stops.

When using the back arrow key, it resumes its way back over the controls.

I have set the ReadCycle property of the formset set to .F. so that reaching the last control doesn't take me to the next form.

All suggestions are appreciated.

Weedz
veld4663@exact.nl
 
weedz

Probably not what you want to hear, but I would take the forms out of the formset and run them separately.

Chris
 
Wel, I have chosen the formset contruction so I can consider them as one object, so I have the list, the data form and the business object together, i have even added a fourth form being a lookup form that also uses this data session. They are all in the same private datasession and I can use the formset as a kind of mediator pattern. The formset takes care of all handling and I have always access to the business object.

Thanks anyhow,

Weedz
veld4663@exact.nl
 
Wel, I have chosen the formset contruction so I can consider them as one object, so I have the list, the data form and the business object together, i have even added a fourth form being a lookup form that also uses this data session. They are all in the same private datasession and I can use the formset as a kind of mediator pattern. The formset takes care of all handling and I have always access to the business object.

BTW the forms are separate, but are added dynamically at runtime.

Thanks anyhow,

Weedz
veld4663@exact.nl
 
weedz

IMHO, formsets are now largely an irrelevance, and as you have discovered, bring their own problems with them.

I do not think you will find there are many enthousiasts for formsets now.

What other views?

Chris
 
Weedz,

Chris is absolutely right........FORMSETS SUCK!!!

I think it's pretty safe to say that 99% of VFP veterans will advise you not to use them. Jon Hawkins
jonscott8@yahoo.com

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top