Hi CJ,
I am trying to understand precisely what you mean by disappearing borders. Do you mean that you have an AutoSizing edit field with some text in it but whose box or 3D lowered border disappears leaving you with text being displayed in a borderless field? Or do you mean that you have an AutoSizing edit field that when it has no text in it, such as immediately after insert, disappears entirely borders and all?
Using PB2017 R3 Build 1858, I recently developed a screen for a desktop application in which the main entry/display field can be AutoSized, and it works fine showing the borders, but with the caveat that if there is no data in the field, the field disappears entirely. Basically the screen has a series of variable length notes. I give the user the option of displaying the notes as either fixed height using the full screen, fixed height for a specified number of lines, or AutoSized. All these options get set programmatically using the Modify method.
Being aware that AutoSized notes without text disappear, when the user inserts a new note while in AutoSizing mode, I remove the AutoSizing and the note height to a fixed height to fill the screen. After the note has been entered, the user can reenable the AutoSizing and everything looks good. Technically the user could reenable AutoSizing immediately after inserting the note, but seeing the empty note disappear, they would know to remove the AutoSizing.
While developing the screen, I definitely wished that PB offered a minimum height property for AutoSized fields, but since it does not, I just handle it programmatically.
Andy
Sounds like if I turn on the "AutoSize" property of the edit field, I'll need to live without the field's border?