| Subject |
Re: Changing 2019 address |
| From |
Bob McKinney <bmckinmey721@gmail.com> |
| Date |
Sat, 09 Oct 2021 18:20:54 -0400 |
| Newsgroups |
dbase.getting-started |
Hi Ken: I repaired the BMCustom Source Aliase address as you suggested. Same results.
I created a new form w/2019 just in case ther was something different. (see code below).
/* File name......Test.wfm
Purpose........Used for testing code
*/
** END HEADER -- do not remove this line
//
// Generated on 10/09/2021
//
parameter bModal
local f
f = new TESTForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif
class TESTForm of DialogCForm from :BMCustom:dialog.cfm // error msg. dialog.cfm dosn't exist
endclass
*********end ofform code
I'm also sending some code from BMCustom (Below) just in case the problem
is not finding bMCustom but what's in it.
Sure appreciate your time (or someon elses').................... Bob
************* code from BMCustom/*
Name..Dialog Custom form for the BSSBiz project based from Base.cfm
*/
** END HEADER -- do not remove this line
class DialogCForm of BASE_CFORM custom from :BMCustom:dialog.cfm
set procedure to :BMCustom:mycontrols.cc additive
with (this)
colorNormal = "0x87f8de"
height = 352.0
width = 328.0
clientEdge = true
autoCenter = true
mdi = false
smallTitle = true
menuFile = ""
escExit = false
endwith
with (this.TITLETEXT)
text = "Original Dialog Form"
endwith
this.PBSAVE = new MYPUSHBUTTON(this)
with (this.PBSAVE)
onClick = class::PBSAVE_ONCLICK
height = 27.0
left = 26.0
top = 294.0
width = 117.0
text = "&OK"
speedTip = "Save Changes"
endwith
this.PBCANCEL = new MYPUSHBUTTON(this)
with (this.PBCANCEL)
onClick = class::PBCANCEL_ONCLICK
height = 27.0
left = 172.0
top = 294.0
width = 117.0
text = "&Cancel"
speedTip = "Cancel Changes"
endwith
function PBCANCEL_onClick
//Abandon changes an close the form...
if form.rowset # NULL
form.rowset.abandon()
endif
form.close()
return
function PBSAVE_onClick
// Save & close the form
if form.rowset # NULL
form.rowset.save()
endif
form.close()
return
endclass
>Ken Mayer, dBase, LLC Wrote:
> On 10/7/2021 1:50 PM, Bob McKinney wrote:
> >
> > Hi All: I'm Testing DB2019 w/w10. I'm trying to use existing 2.8 form's, dmd's, etc.
> > I already know they will need adjusting, addresses, etc. I'm working with the simplest ones first. If I can just get one to work, who knows if those adjustments will work for all.
> >
> > When I attempt to open an existing datamodule created w/db2.8, I get the error msg "File does not exist", which means db can't find it. The current address for BMCustom (My Controls folder) is [This PC > Windows(C) > C > Users > Bobnbie > BSSBiz > BMCustom.]
> > Where and how do I tell db2019 where "BMCustom" is located?
>
>
> You're using Source Aliases or "Source Code Aliases".
>
> Properties menu
> Desktop Properties
> Click the Source Aliases tab.
>
> Add the source alias BMCustom and set the path to point to the folder.
>
> (Click the "Add" button, the two entryfields empty out, type the alias
> name and click the button to select the path ... click "Apply" and the
> new Source Alias will appear in the list.)
>
> Ken
>
> --
> *Ken Mayer*, dBase, LLC
> Ken's dBASE Page: http://www.goldenstag.net/dbase
> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
> dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
> dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
|
|