Discussion forum about PANORAMIC language
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Discussion forum about PANORAMIC language

Mac, Windows & Android application development with PANORAMIC language
 
HomeHome  SearchSearch  Latest imagesLatest images  RegisterRegister  Log in  
Latest topics
» What happened with the panoramic language ?
by Wed Jan 03, 2024 4:09 pm

» Hello world.
by Wed May 09, 2018 11:53 pm

» Biomorphes de PICKOVER
by Sun Jun 18, 2017 2:33 am

» In less than 10 lines of code
by Fri Jun 16, 2017 5:03 am

» Effect Dopler
by Fri Jun 16, 2017 3:29 am

» SuperEllipse
by Wed Jun 14, 2017 4:01 am

» Plants
by Wed Jun 14, 2017 3:38 am

» Mira's attractor
by Wed Jun 14, 2017 3:30 am

» Triangle of Sierpinski
by Wed Jun 14, 2017 3:22 am

» Esthétique polaire
by Wed Jun 14, 2017 3:16 am

» Butterfly effect : Lorenz equations
by Wed Jun 14, 2017 3:08 am

» Collision detection
by Tue Jun 13, 2017 5:09 am

» The Bees Laline Paull Epub Books
by Mon Oct 10, 2016 8:58 pm

» PANORAMIC for Mac OSX 10 is available
by Tue Aug 09, 2016 6:08 pm

» ide
by Sat Jul 16, 2016 12:27 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

 

 Deleting a System Object

Go down 
2 posters
AuthorMessage
Gregory




Number of posts : 9
Age : 41
Localisation : South Africa
Registration date : 2010-05-12

Deleting a System Object Empty
PostSubject: Deleting a System Object   Deleting a System Object EmptyFri May 14, 2010 5:32 pm

Hello! Could anyone please help with an example of how to delete system objects? I have tried putting the delete statement in my program but i keep getting "Abstract Error" or "Access violation" after the object is deleted. The program still runs but i am unable to use the control. I have also tried putting the delete statements in a Sub but with no luck. I am not sure if this might be a bug with the "access violation error". Thanks for any help!


Last edited by Gregory on Fri May 14, 2010 5:39 pm; edited 2 times in total (Reason for editing : Left some information out.)
Back to top Go down
Jack
Admin
Jack


Number of posts : 99
Registration date : 2007-07-01

Deleting a System Object Empty
PostSubject: Re: Deleting a System Object   Deleting a System Object EmptyFri May 14, 2010 8:03 pm

Normally, the statement to delete a system object is DELETE.
You can try:
Code:
button 1
wait 1000
delete 1
and the button disappears after 1 second!
Which kind of object did you delete?
Back to top Go down
https://panoramic.forumotion.com
Gregory




Number of posts : 9
Age : 41
Localisation : South Africa
Registration date : 2010-05-12

Deleting a System Object Empty
PostSubject: Re: Deleting a System Object   Deleting a System Object EmptyFri May 14, 2010 9:40 pm

Hi. It is a form with two edit controls and a button. What i am trying to do is use the form as a dialog to get some user information. Once the user clicks "Save" im not sure how to delete the objects so that i can use them again if the user wants to store new information. I would post the code now but am not able to right now as its on a different pc. Im not sure what i could be doing wrong.
Back to top Go down
Jack
Admin
Jack


Number of posts : 99
Registration date : 2007-07-01

Deleting a System Object Empty
PostSubject: Re: Deleting a System Object   Deleting a System Object EmptyMon May 17, 2010 7:01 pm

Here is an example of a form which contains 2 other objects (one edit and one button).
When the button of the main form is clicked, the created form is deleted with its two objects without problem.
Code:
label del
form 1:top 1,200:left 1,300
caption 1,"form with 2 objects"
edit 2:parent 2,1
button 3:top 3,100:parent 3,1
button 4
caption 4,"Delete"
on_click 4,del
end
del:
delete 1
return
Back to top Go down
https://panoramic.forumotion.com
Sponsored content





Deleting a System Object Empty
PostSubject: Re: Deleting a System Object   Deleting a System Object Empty

Back to top Go down
 
Deleting a System Object
Back to top 
Page 1 of 1
 Similar topics
-
» Hello. Object out of Range error.

Permissions in this forum:You cannot reply to topics in this forum
Discussion forum about PANORAMIC language :: Panoramic for Windows :: Help?-
Jump to: