Remove second window

You need some new stunning features ? Tell us here.
afriend
User
User
Posts: 20
Joined: Thu Aug 09, 2007 5:47 am
Location: Melbourne, Australia

Remove second window

Post by afriend »

I have designed a system that initially used a parent and child window using Visual Designer. After many changes, I no longer needed the child (second) window.

My problem is I cannot remove the window from the Visual Designer file - the delete function, in Visual Designer, will not remove the window.

Anyone know how to do this.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4792
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: Remove second window

Post by Fangbeast »

afriend wrote:I have designed a system that initially used a parent and child window using Visual Designer. After many changes, I no longer needed the child (second) window.

My problem is I cannot remove the window from the Visual Designer file - the delete function, in Visual Designer, will not remove the window.

Anyone know how to do this.
Just load the produced code into the IDE and delete it there if you know how. Must be our cold Melbourne weather doing it to you:):)

The visual designer produces a constants file and a windows that you can edit manually.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
afriend
User
User
Posts: 20
Joined: Thu Aug 09, 2007 5:47 am
Location: Melbourne, Australia

Remove second window from Visual Designer file

Post by afriend »

Fangfeast, thanks for your response - Melbourne is returning its cold winters.


My probelm is I want to delete the second window from the pbv file so I can continue using to Visual Desisigner to make updates in the window I am designing.

I know how to load the source pb file Visual Designer creates and carry out the edit, but this gets annoying everytime I update the window design in Visual Designer.

It would be better too be able to remove the window from the visual designer. Unfortunately when I select the window, the delete function does not work.

Any help appreciated.
afriend
User
User
Posts: 20
Joined: Thu Aug 09, 2007 5:47 am
Location: Melbourne, Australia

Post by afriend »

fangbeast apros it was a typo when I typed fang feast
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Oh, you're using the visual designer that comes with PB. There is a new one available for download that edits the source directly.

To destroy the window, just click the X to close it. You will get a question if you really want to delete the window. Answer yes.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4792
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Post by Fangbeast »

Trond's idea is better. I didn't know about the new designer version as I don't use it myself.

P.s. fang feast is right, I fanged a good feast tonight!!!

I live up in the hills and it's so damned cod here tonight that I saw 6 ducks frozen mid flight!!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
afriend
User
User
Posts: 20
Joined: Thu Aug 09, 2007 5:47 am
Location: Melbourne, Australia

Post by afriend »

Trond - second window is gone, worked well - thanks for your help, likewise to fangbeast. :) :)
Post Reply