New topic: How to confirm a delete operation
<http://forums.realsoftware.com/viewtopic.php?t=45794> Page 1 of 1 [ 7 posts ] Previous topic | Next topic Author Message kgingeri Post subject: How to confirm a delete operationPosted: Fri Nov 02, 2012 7:16 pm Joined: Fri Nov 02, 2012 1:45 am Posts: 8 Location: Ontario, Canada Hi All, I'm new and trialling Web Edition. As I write a web app, there seems to be no good way to have a user confirm they really want to delete something (such as a record in CRUD operations). MsgBox() takes only one arg that I can see and the other dialog control is only for DE - am I right? How have you handled this? A "Delete this ..." checkbox, that pops up a warning that on clicking a save button, all will be lost? Thx Top swort Post subject: Re: How to confirm a delete operationPosted: Fri Nov 02, 2012 7:40 pm Joined: Mon May 31, 2010 5:35 am Posts: 2207 Location: Netherlands kgingeri wrote:Hi All, I'm new and trialling Web Edition. As I write a web app, there seems to be no good way to have a user confirm they really want to delete something (such as a record in CRUD operations). MsgBox() takes only one arg that I can see and the other dialog control is only for DE - am I right? How have you handled this? A "Delete this ..." checkbox, that pops up a warning that on clicking a save button, all will be lost? Thx Create a WebDialog in the project tab. Drag that WebDialog, where you select the WebDialog in the left (controls) list into the WebPage. Now you can show a WebDialog with WebDialog1.Show (or WebDialogName.show). You can add buttons to that WebDialog and any other control as in a WebPage... _________________ SWORT⢠- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion - REAL Studio Enterprise(latest) and WEB Edition(latest) - Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins) For Dutch User Groups ask me to enter! Top kgingeri Post subject: Re: How to confirm a delete operationPosted: Fri Nov 02, 2012 7:46 pm Joined: Fri Nov 02, 2012 1:45 am Posts: 8 Location: Ontario, Canada Thx Swort! I'll give it a try! Top kgingeri Post subject: Re: How to confirm a delete operationPosted: Fri Nov 02, 2012 8:31 pm Joined: Fri Nov 02, 2012 1:45 am Posts: 8 Location: Ontario, Canada @SWORT: Works like a charm! Thanks much! Ok, forgive me again, but noob questions: - how do I limit the size of that dialog? - can I change fonts and sizes in WE? (I'll digress again here too... I'm not finding documentation particularly strong/helpful. Can anyone recommend anything, especially WE related?) Top swort Post subject: Re: How to confirm a delete operationPosted: Fri Nov 02, 2012 9:04 pm Joined: Mon May 31, 2010 5:35 am Posts: 2207 Location: Netherlands kgingeri wrote:@SWORT: Works like a charm! Thanks much! Ok, forgive me again, but noob questions: - how do I limit the size of that dialog? There is a property in the WebDialog editor window on the right size. kgingeri wrote: - can I change fonts and sizes in WE? (I'll digress again here too... I'm not finding documentation particularly strong/helpful. Can anyone recommend anything, especially WE related?) You can change font and sizes with the use of WebStyles. Go to the project tab, add a WebStyle then edit that style by double click on the WebStyle1 you just created. Now you get a "+" on the style editor with a list (if you click +). Go to the Label, Button, Dialog etc. wich need a differend style and add style on the right side after you selected the control where you want to set that style to. -It's almost all control based editing. -You can add a WebStyle to any UI visual control -Make multiple styles for different controls or use 1 style on all controls Just try it.. _________________ SWORT⢠- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion - REAL Studio Enterprise(latest) and WEB Edition(latest) - Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins) For Dutch User Groups ask me to enter! Top kgingeri Post subject: Re: How to confirm a delete operationPosted: Fri Nov 02, 2012 9:26 pm Joined: Fri Nov 02, 2012 1:45 am Posts: 8 Location: Ontario, Canada Thanks so much SWORT! Top Akiland Post subject: Re: How to confirm a delete operationPosted: Sat Nov 03, 2012 12:18 pm Joined: Tue Jan 04, 2011 3:02 am Posts: 993 Location: Jönköping, Sweden kgingeri wrote: - can I change fonts and sizes in WE? If you want more fonts you can always use Google Web Fonts http://forums.realsoftware.com/viewtopic.php?f=23&t=39100&hilit=google+web+fonts _________________ Dev. iMac 27" + 2x22" LG (2.8GHz Intel Core i7, 12GB RAM, 120GB SSD) OS X 10.8 Using Subversion on a Synology DS409+ REAL.Studio Web Edition 2011r3 Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 7 posts ]
-- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
