Textbox ID = 1 - The great mystery

Hi All OK. I learned yesterday I can show the FileDialog in a Dataport with a Textbox (with Control ID = 1). But what is behind this? Is this a feature (like other hidden things e.g. system tables or bitmaps) for use only in the standard request form? Or can get I another hidden form or something else if I put e.g. 99999 in the Control ID of a Textbox? Can somebody enlighten me? bye André

What the heck are you talking about Andre, I placed a Text Controle ID 1 on a dataport, but it has no extra functionality. Just a textbox. Explain me man!

quote:


Originally posted by eromein
What the heck are you talking about Andre, I placed a Text Controle ID 1 on a dataport, but it has no extra functionality. Just a textbox. Explain me man!


Put it on the Request Form with Assist = Yes and a Text variable. Bye André

Wow! Never knew that. Very good, very good.

Hi Emiel **

quote:


Originally posted by eromein
Wow! Never knew that. Very good, very good.


… as I said! But why? bye André

well I lied a little. I knew it, but forgot it. It’s a Navision feature to make the developers live more easy. I read that somewhere a long time ago.

…so how do you add the ‘Direction’ Import and Export option fields?

by adding Your own radio buttoms and using CurrDataport.IMPORT(TRUE/FALSE) in OnPreDataport [:)]

quote:


Originally posted by Lars Westman
by adding Your own radio buttoms and using CurrDataport.IMPORT(TRUE/FALSE) in OnPreDataport [:)]


Better: Create your own form in VB - then coding your ‘Navision’ around [:D]. Bye André

quote:


Originally posted by Andre DDB
Better: Create your own form in VB - then coding your ‘Navision’ around [:D].


Hi Andre! Personally, I’d prefer writing a VB COM DLL implementing the form stuff, then write a wrapper codeunit in Navision, then call this CU from your dataport or whatever [:D] WRT the magic textbox - I found this out the hard way (just like most other esoteric tricks inside Navision [8D]), then, a few days later, read the confirmation here in the forum. Must be one of these “documentation issues” we’ve been talking about recently [}:)]