TOPIC: FormControl Broken
#187
FormControl Broken 4 Years, 4 Months ago
The following chunk of code use to line up the groups properly, but since the latest FormControl changes group 4 no longer lines up. Any ideas??

Code:

(Form
(ti_ticket, group: 0) (ti_date) (bizuser_user_cur, group: 3)
(Button 'Copy Ticket', xmin: 110, group: 4) nl
(bizpartner_num_billto, group: 0) (ti_currency_default, group: 3)
(ti_exchgrate_default, group: 4) nl
(ti_location, group: 0) (etarate_id, group: 3)
(MenuButton, "Invoice Options",
('Reprint...', 'Void'), xmin: 110, group: 4) nl
(etaorder_custpo, group: 0)
(etaorder_reference1, group: 2)
(etaorder_reference2, group: 3)
(ti_invoice, group: 4) nl
(Gl_HideDept ti_gldept_id_default, group: 0)
(ShowHide, (etaorder_reference3), Etaorder_showref3?, group: 2)
(ShowHide, (etaorder_reference4), Etaorder_showref4?, group: 3)
(ti_invoice_date, group: 4)
)




Post edited by: jferguson, at: 2006/04/21 20:51
 
 
Jeff Ferguson
Suneido Software
 
#188
Re:FormControl Broken 4 Years, 4 Months ago
Hi Jeff,

Could you post a picture of the situation before and after?

Jos
 
 
#189
Re:FormControl Broken 4 Years, 4 Months ago
Hi Jeff,

Saw the misalignment, was caused by not using group 1. So the groups object had 1 unnamed member (group 0) and 3 named (1, 3 and 4). The groups were aligned by traversing them using Members() and that gave the order 0, 4, 3, 2 instead of 0, 2, 3, 4.
Solved that by using a sort. The major changes to FormControl however involves a bug I found when some line ommitted the first group.

Jos
File Attachment:
File Name: FormControl.zip
File Size: 1196


Post edited by: joshua, at: 2006/04/22 11:19
 
 
#190
Re:FormControl Broken 4 Years, 4 Months ago
Hi Jos.

Thanks for looking into this. We will review and test your changes and put them into stdlib for the next release.
 
 
#191
Re:FormControl Broken 4 Years, 4 Months ago
Hi Jos.

We loaded in your latest changes and have some major problems. The Accounting screens (like the Business Partners screen) does not display any of the fields that are on the tabs and we get errors when switching tabs. Also, some of the report screens have lost the Print/Preview/Page Setup buttons and have fields aligning half off the screen. Can you take another look or suggest something we may be doing wrong?

Thanks.
 
 
#192
Re:FormControl Broken 4 Years, 4 Months ago
Hi Jennebelle,

Big oops. In my eager to correct the bug of lines where the first group was omitted and the attempt to simplify the grouping routine, I totally oversaw that the controls in a form don't have to be grouped or can be mixed. Positioning of non-grouped controls was just left out!
So mostly reverted back to the previous version.

Jos
File Attachment:
File Name: 1e80c9d246990ccc3537a48c13b3d6af.
File Size: 1248
 
 
#193
Re:FormControl Broken 4 Years, 4 Months ago
Again a strange filename, try it once more. It should be FormControl.zip.
File Attachment:
File Name: 953b01a5f977b064a3d5764aae66c5f3.
File Size: 1248


Post edited by: joshua, at: 2006/04/25 11:12
 
 
#194
Re:FormControl Broken 4 Years, 4 Months ago
Hi Jos. After I downloaded the file, I just renamed it to FormControl.zip and it worked fine. I imported the file and did some quick testing and the screens look alright. We will do some more testing and put this in the stdlib.

Thanks.