Simulating Clicking on New/Edit buttons on MFTS


Author
Message
Tim Dol
Tim Dol
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
In my form constructor I passing the initial editing state for the form. What event should I be adding my code to change the editing state based on my parameter, so it maintains the same functionality as clicking on New or Edit button.

Right now I have my code in the ParentFormLoading event of my primary business object. It does change the editing state correctly, but it will not honor the form properties 'FocusControlOnAdd and FocusControlOnEdit'. 

Thanks,

Tim

Reply
Tim Dol
Tim Dol
StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)StrataFrame VIP (1.5K reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Your suggestion worked fine.  Smile

Thanks

Tim

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search