Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: Developing sample app

$
0
0
Re: Developing sample app
FoxInCloud
Re: Developing sample app
03/08/2012
06:42:00 PM
3G81425DK Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None

The alias name in use is because FiC is setting a classlib that you already have set. We set wwipstuff in our claslibs because we use it, so then when FiC tries to do the same you get that error. FiC does it in ac.prg. I suggested they bracket all set classlib and check if the classlib already is loaded. FiC was also using an older version of wwipstuff.

We just edited ac.prg.


From TN: Alias name already in use: you probably have 2 copies of wwIPstuff.vcx in Set('Path') - or make sure you run FAA and FAS in 2 separate VFP instances.

See attachment. the two copies of this class are most likely used are in c:\users\garth. We used PM to give you the screen shot of the wwipstuff.vcs files found on my system. We understand the two files in C:\Users/Garth were installed by your system.

We don't know which one is needed. We do not know why there is a c:\Users\Garth\AppData\Local\VirtualStore folder in windows 7.

To speed up development, we prefer to open FoxInCloud Studio - Full Version and stay there - not jump back and forth between FAA and FoxInCloud - Full Version.

PDFxChange is set as our default PDF viewer.

Garth


'No disk drive': VFP/Windows issue - need additional details when this error occurs

Alias name already in use: you probably have 2 copies of wwIPstuff.vcx in Set('Path') - or make sure you run FAA and FAS in 2 separate VFP instances

Acrobat: should not be an issue if you use PDFxChange


7. a. FiC does supports form.NoTitleBar on master forms - we might consider supporting it on child forms but then user would loose the 'report a bug' link in form title bar, and the ability to move the form inside the browser view port.
You might add to xxx.css:
.dialog .top.table_window, .mac_os_x_close, .mac_os_x_minimize, .mac_os_x_maximize {display:none;}

7. b.
Supporting
In between You might add to xxx.css:
.dialog .top.table_window, .mac_os_x_close, .mac_os_x_minimize, .mac_os_x_maximize {display:none;}

7. d.
FiC reference:
- Form title bar: modify xxxTest.ini
- Form page: override xxxProcess.wFormHTML_cSignature(), .wFormHTML_cHeader(), .wFormHTML_cFooter()

VFP reference: where?


3.,4.,5. - debugger screens - see private email, forthcoming..
7. a. no title bars -the entire design has forms with no title bar - client's choice. We created a form with no title bar and tested in FIC - Title bar is still present. Apparently FiC does not support NoTitleBar form property. Any CSS options on title bar?
7. b. no min., max. or close buttons on any forms. CSS options ???
7. d. no VFP or FIC text or icons wanted anywhere in production version. See private email attachments.

Thanks.


1. You can set .RecordSource at design time or at grid.Init() - better not change it afterwards
2. FiC supports child grid with a parameterized view - just requery your child view when parent grid record changes - just like in our on-line demo http://foxincloud.com/demos.php
3. please provide a debugger screen shot when error occurs
4. same as 3.
5. please check you don't have 2 copies of the same vcx in scope
6. .wAfterRowChange() should run if .AfterRowColChange() has no code at all
7.a. don't understant
7.b. on master form or child form?
7.c. just implement your sub-class of awFrmMB (xxx.vcx!xxxFrmMB) and check xxx.vcx!xxxFrm.cwcMessageBoxClass = 'xxxFrmMB'
7.d. "no FoxInCloud text" - where?



Further along ...
1. We put the record source definitions for both parent and child tables in the form's init() but saw no obvious difference.

2. We replaced the set filter parent/child table link with a set relation link. This works as expected in VFP IDE, but in browser, child table grid shows all child records. We added expression (Projects.domain+ Projects.pid) to relational expression property in child grid - no change. How can we show only the child record associated with parent table records in browser?

3. For our convenience, we added the FAA app (awadapterstart) to our project. This works fine except when we hit Run, we get a messages "There is no disk in the drive ....".

4. When FAA comes up and we hit "Adapt" we get repeated messages, "The Acrobat Reader that is running cannot be used to view PDF files in a Web Browser. ..." Acrobat is not running and we have the default set to PDF-XChange Viewer. ???

5. When we run xxxtest.prg to test the app in a browser, we get the message "Alias name already in use" twice. We hit ignore and are able to proceeded and test the app in the browser anyway.

6. We had to put replicate our wAfterRowChange() code under AfterRowColChange to make the app work in VFP IDE. We verified that wAfterRowChange() is not being run in VFP IDE by adding a SET STEP ON to the method.

7. Here is some feedback from our client to our FoxInCloud screens:
a. They want no title bar which can be handled within in VFP. We like the abilty to move windows. Maybe title bar can be retained but "disguised".
b. They don't want the three buttons at the top of a window.
c. They want the message box icons to be much smaller.
d. no FoxInCloud text.

Garth






Viewing all articles
Browse latest Browse all 10393

Trending Articles