Discussion forum about PANORAMIC language

Mac, Windows & Android application development with PANORAMIC language
 
HomeFAQSearchRegisterMemberlistUsergroupsLog in
Latest topics
» Hello world.
by Mon Jun 19, 2017 1:37 am

» 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

» Can I change the program icon/logo in my application ?
by Thu Jul 07, 2016 3:32 am

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Share | 
 

 Deleting a System Object

View previous topic View next topic Go down 
AuthorMessage
Gregory



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

PostSubject: Deleting a System Object   Fri 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
View user profile
Jack
Admin
avatar

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

PostSubject: Re: Deleting a System Object   Fri 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
View user profile http://panoramic.top-forum.net
Gregory



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

PostSubject: Re: Deleting a System Object   Fri 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
View user profile
Jack
Admin
avatar

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

PostSubject: Re: Deleting a System Object   Mon 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
View user profile http://panoramic.top-forum.net
Sponsored content




PostSubject: Re: Deleting a System Object   

Back to top Go down
 
Deleting a System Object
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Issue - Selenium checks object in some cache
» If object present do sumthing else proceed to next selenium step
» How to create/recognize object element not using recording?
» is there object spy option in selenium ID/ Tool
» Page Object Framework Implementation using web driver.

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