Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 9 of 9 total
Thread Non visual control occasionally disappearing from form
Wed, Feb 20 2019 1:08 PMPermanent Link

Bill

Hi all,
problem of the day is that some datasets icons doesn't appear on a form in the IDE during designing forms and programs. It happens when I copy some components from a form to another.
Obviously, I can access to their properties searching on the Object inspector (if I remember their name) but it hasn't a reason?!?
I edited the wbs file with notepad and set their Top and Left properties but it seems they stay on back of visual components.
What can I do to see again?
Many thanks in advance.
Wed, Feb 20 2019 2:30 PMPermanent Link

Walter Matte

Tactical Business Corporation

Yes - copying any component - from one form to another - visual not non visual - maintain their top and left and if the new form is not large enough the components are not seen.



Walter
Wed, Feb 20 2019 5:29 PMPermanent Link

Bill

Walter Matte wrote:

Yes - copying any component - from one form to another - visual not non visual - maintain their top and left and if the new form is not large enough the components are not seen.

Walter
______

But if I edit the ".wbf" file and change their top and left properties, they stay always on the back of visual components (in my situations, TBasicPanel) and they doesn't appair any more. It seems they are on the back, under the panel.
Any ideas to change to see them again? Is there a property that the IDE use to set back and forth objects on the forms? I need to see datasets on a form only in the IDE for developing my program.
Many thanks  
Thu, Feb 21 2019 3:35 AMPermanent Link

Walter Matte

Tactical Business Corporation

Having components behind other  components is a different story.

When you copy from one form to another , before you paste onto the new form you need to click on the container (Panel) you want the pasted components to be parented to.

If they get put on the form and there is a panel in from then you need to send the panel to back.  And probably cut and paste component to the panel if that was the desired place you wanted them.
Thu, Feb 21 2019 5:34 PMPermanent Link

Bill

> Walter Matte wrote:
> Having components behind other  components is a different story.
>
> When you copy from one form to another , before you paste onto the new form you need to click on the container > (Panel) you want the pasted components to be parented to.

> If they get put on the form and there is a panel in from then you need to send the panel to back.  And probably cut > and paste component to the panel if that was the desired place you wanted them.

I was talking about non visual components like datasets that should be always visible in designing window. Very strange is that from that moment, new datasets too doesn't appear on the form if they are added.
Maybe it's a bug but if I can understant the workaround it could be a secondary one.
Thu, Feb 21 2019 9:53 PMPermanent Link

Raul

Team Elevate Team Elevate

On 2/21/2019 5:34 PM, Bill wrote:

> I was talking about non visual components like datasets that should be always visible in designing window. Very strange is that from that moment, new datasets too doesn't appear on the form if they are added.
> Maybe it's a bug but if I can understant the workaround it could be a secondary one.

I can't make it happen - might require a larger/more complex project.

Could you post a small project this happens  with - or maybe a form wbf
file just so we could try it out and see if it happens to us as well

Raul
Fri, Feb 22 2019 2:44 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Bill,

<< But if I edit the ".wbf" file and change their top and left properties, they stay always on the back of visual components (in my situations, TBasicPanel) and they doesn't appair any more. It seems they are on the back, under the panel. >>

Did you move them around manually in the .wbf file, just edit their Top/Left properties ?

The form files have an implicit layout order in them, and the non-visual components should always be at the bottom of the form file.  So, if you move them elsewhere, they might appear behind other controls.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Feb 23 2019 10:51 AMPermanent Link

Bill

Hi Tim,


>> Tim Young [Elevate Software] wrote:

>> Bill,

<< But if I edit the ".wbf" file and change their top and left properties, they stay always on the back of visual components (in my situations, TBasicPanel) and they doesn't appair any more. It seems they are on the back, under the panel. >>

>> Did you move them around manually in the .wbf file, just edit their Top/Left properties ?

No, they are correctly at the end of wbf file in the "Components" section. I changed only Top and Left properties.
If I remove panels and UI on the form, datasets are exactly where is written to be. Isn't it  a strange behavior?


>> The form files have an implicit layout order in them, and the non-visual components should always be at the >> bottom of the form file.  So, if you move them elsewhere, they might appear behind other controls.

>> Tim Young
>> Elevate Software
www.elevatesoft.com
Sat, Feb 23 2019 11:01 AMPermanent Link

Bill

Added 7z file with form.wbf... hoping helps.
Many thanks
====
Hi Tim,


>> Tim Young [Elevate Software] wrote:

>> Bill,

<< But if I edit the ".wbf" file and change their top and left properties, they stay always on the back of visual components (in my situations, TBasicPanel) and they doesn't appair any more. It seems they are on the back, under the panel. >>

>> Did you move them around manually in the .wbf file, just edit their Top/Left properties ?

No, they are correctly at the end of wbf file in the "Components" section. I changed only Top and Left properties.
If I remove panels and UI on the form, datasets are exactly where is written to be. Isn't it  a strange behavior?


>> The form files have an implicit layout order in them, and the non-visual components should always be at the >> bottom of the form file.  So, if you move them elsewhere, they might appear behind other controls.

>> Tim Young
>> Elevate Software
www.elevatesoft.com



Attachments: TmpUNewPro.wbf.7z
Image