| To: | Getting Started <gettingstarted at lists dot realsoftware dot com> |
|---|---|
| Subject: | Re: changing app's title |
| From: | Robert Poland <rpoland at usa dot net> |
| Date: | Sun, 27 Aug 2006 08:05:14 -0600 |
| Delivered-to: | listarchive at realsoftware dot com |
| Delivered-to: | gettingstarted at lists dot realsoftware dot com |
| References: | <D96198D1-FAC9-4482-A20E-6E4B19EF929E at usa dot net> <EE1C7739-6959-4B6C-9C45-72824C8ABE4E at shaw dot ca> |
On Aug 27, 2006, at 7:14 AM, Terry Ford wrote: On Aug 26, 2006, at 8:41 PM, Robert Poland wrote:Is there a way to change the title of an app's main window at the startup of the app?MainWindow.Title = [String]This name is used to name the file being generated.Then you will also want to change the name of the folderitem. FolderItem.Name = [String]I want the title to include the current date.Dim d As New Date Dim Today As String // Perhaps a property of the Application subclass.Today =" "+Format(d.Month,"00") +"-"+Format(d.Day,"00")+"-"+Right (Str(d.Year),2)You would then append Today to the end of the name or title. HTH Terry Thanks Terry,I appreciate the lesson on formatting, I was having trouble making it work. But...Neither "MainWindow.Title = [String]" nor "FolderItem.Name = [String]" worked for me, "This method or property does not exist". Robert Poland rpoland at usa dot net _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: changing app's title, Robert Poland |
|---|---|
| Next by Date: | Re: changing app's title, Terry Ford |
| Previous by Thread: | Re: changing app's title, Terry Ford |
| Next by Thread: | Re: changing app's title, Terry Ford |
| Indexes: | [Date] [Thread] [Top] [All Lists] |