NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - DonRidley

Pages: 1 ... 3 4 [5] 6 7 8
61
Web Server - Share Knowledge / A Graph(s) on Each Tab
« on: January 05, 2012, 04:33:06 AM »
Okay I thought I would share this...and to save this somewhere so that when I forget a year from now I can come back and find this...   ;D

I came across the need to display an Insight 2 graph on each tab of a memory form.  Now my solution may not be the best way but it works and it works well.

I'm not going to cover the creation of the graphs themselves.  I'm assuming you know that already.   If not, let me know and I'll help there to.

1.  Create a standard memory form.
2.  The form will not need a save button.  Cancel should do.
3.  For each tab, you will need a NetWebSource procedure.
4.  In the XHTML section, of the NetWebSource(s) place your code to display your graph:
     <!-- Net:TotalPermitFeesByFY -->  (My Graph..shown for syntax)
4.  For each tab on Form 1, create a "procedure" field that points to the NetWebSource

Repeat this process for each tab/graph you need.

You can also give each graph its own button set on each tab by adding fields on the parent form.  A print button would be an example.

Don

62
Web Server - Share Knowledge / MultiSite - NetTalk Example 59
« on: December 27, 2011, 03:17:39 AM »
Hello Bruce,
 
This is not a huge issue right now but I thought I would ask you about this. 
 
I had the hardest time getting example 59 to run as a service.  Then I found the following code in a global embed:
 
gSelfService.SetPathToExeFolder = 1  ! usually this is done slightly later, but I want it done early
gSelfService._SetPathToExeFolder()   ! so that the LoadSettings can work. The Settings contain the service name
LoadSettings()                                   ! so that needs to be loaded here.
 
When I commented this code out, I could start the service. 
 
However, this code makes a call to the LoadSettings procedure.  So, by commenting this out, the app’s settings are not loaded when the app starts.
 
Any thoughts on this?
 
I’m using:
 
Clarion 8.8778
SelfService 3.34
WinEvent 3.77
xFiles 2.27
NetTalk 6.12
MessageBox 2.16
FM3 4.98
 
Thanks,
 
Don

63
Web Server - Ask For Help / Mobile mode and forwarded subdomains
« on: December 26, 2011, 09:03:33 AM »
Playing around with subdomains with GoDaddy.com.

Having problems displaying properly in mobile mode.

If you go to http://69.92.96.104:85 it displays properly.

If you go to http://gangtracker.oxfordpd.org it does not display properly (on mobile device).

The subdomain is forwarded to 69.92.96.104:85

I have also tried forwarding to:

 69.69.96.104:85/index.htm
69.69.96.104:85/index

Neither works.  The site does run in mobile mode but is not properly resized to fit screen.

Overall goal is to use the Multi Site app.

Thanks,
Don

64
Hey Bruce,

I want to have the ability to reset/refresh a field when the progress control reaches 100%. 

Specifically, I am trying to un-hide a button when the progress control reaches 100%.

Thanks,

Don

65
Web Server - Ask For Help / NT6.07 - Browse Filter String Problem
« on: December 04, 2011, 08:32:15 PM »
Hello Bruce,

Ran into an interesting problem today.

I have a memory form with several local fields.  When the user presses a "Query" button, the populated local fields create a filter string which is then used to filter a browse.  These local fields consist of STRINGS and 2 date fields.

In NetTalk version 6.06, the strings work but the dates do not.

In NetTalk 6.07, the dates work but not the strings.

Very weird.  I have went back and forth between 6.06 and 6.07 and I can duplicate the problem every time.

The "query" button is "Type = Button"

Thanks,

Don

66
Web Server - Ask For Help / NT 6.07 and Example Web12 (HotDates)
« on: December 03, 2011, 05:46:31 PM »
Hey Bruce,

I know the mobile stuff is not on the front burner but will you take a look at this when you can?

Example Web12 does not display the calendars on my Android phone.  When you press the menu item to display, say, the year calendar, I get the circular wait image and nothing ever happens.  Same results in Google Chrome browser ran in mobile mode.

Realistically, I know the year view and likely the planner would not fit on such a small screen.  But, the month view should display nicely.

Thank's Bruce!  Everything is coming along great!

Don

67
Hello all,

Here's a little something I figured out:

On a desktop or laptop screen you have room to display quite a few fields in your browses.  On an iPhone or Android this is not the case.  

The solution is to limit the number of fields displayed on the phone.  But wait, we do not want our pretty desktop browse affected by this.

In your browse, in the field's properties, look for Column Condition.

Enter:  p_web.IsMobile() = 0

This will tell the browse to only display this field if it is being displayed in desktop mode.

Cool huh?

Bruce thought ot everything....  ;)

Don

68
Web Server - Ask For Help / NT6-Mobile Mode-Header Buttons
« on: November 24, 2011, 07:54:50 AM »
Don't know what the technical term for them are but I'm referring to the small buttons in the header area of the screens in mobile mode.  The add, cancel, etc., buttons..

Okay, for some reason these buttons are hard to "activate."  By that I mean that I have to push the button 3 or 4 times before it does its thing.  Now, I can see the button being pressed each time because the button image depresses.  These buttons DO work.  It's just hard to get them to.

NOTE:  If you press these buttons and hold for about a second, they work fine.

Does this even make sense?

Also, Bruce, in a memory form I have two standard "button" fields.  These will not display properly even after the fixes you told me about earlier.  Save,Cancel,etc., buttons display fine.

Thanks,

Don

69
Web Server - Ask For Help / NetTalk 6.03 - Problem with buttons
« on: November 23, 2011, 10:41:23 AM »
Take a look at shipping example Web3 (Browse with Login).

If I run it in mobile mode, I do not have a Ok or Save button to press.

Don

70
Web Server - Ask For Help / Geting "Error in site JavaScript"
« on: November 22, 2011, 11:45:14 AM »
Upgraded pre-existing NT5 app to NT6

Followed the upgrading to NT6 docs to the letter.

BAT file ran fine (I think this is a neat feature)..

Compiles run fine.

Something is amiss in the Javascript...

Don't have a clue.  Example apps seem to be fine.

Don

71
Web Server - Ask For Help / Insight Graphing 2 & NetTalk & PDF's
« on: November 16, 2011, 06:47:47 PM »
Can I generate a PDF report which has a Insight 2 graph on it?

If so, is there anything different as far as the graph is concerned?

I'm trying to do this and I keep getting an Error 404.

PDF is generated using SV's template.

Don

NetTalk 5.42
Clarion 8.8778
Insight 2  2.04
Draw 3.21

72
Web Server - Ask For Help / NTWS - Printing PDF with Image..part 2
« on: November 03, 2011, 03:43:41 PM »
I don't know what the problem is but I cannot view the other thread when I'm logged in to NetTalkCentral.  Weird.

Anyway, I have tried everyone's suggestion to no avail. 

I noticed a reference to an object labeled "?draw."  Is this a standard SV image control renamed to ?draw or is this another control?  Maybe a Capesoft's Draw control?

Thanks,

Don

73
Web Server - Ask For Help / NTWS - How to print report with image
« on: October 25, 2011, 04:42:39 AM »
Hello all,

I know I'm doing something wrong but how do I print a report as PDF with an image?

Currently, the PDF will generate but no image is present.  Same report works perfectly in Win32 app. 

Image file is located in Uploads directory.

I'm using SV's PDF generator.

C8.8658
NetTalk 5.38
Windows 7 Pro

74
The question was asked of me and I really don't know the answer.  I know it's allot but what would be a realistic number?  I also know that its depends on hardware, bandwith, etc.

Thanks,

Don

75
Web Server - Ask For Help / Refresh HotImage
« on: October 09, 2011, 01:47:30 PM »
Okay, I have looked at Example 26a many times. 

I have a browse of images.  I have a HotImage procedure as a child of that browse.

I have the HotImage displaying an image.  Problem is the HotImage is not refreshing when I select a different record in the browse.  There has got to be something simple I have missed.

Any help appreciated,

Don

Pages: 1 ... 3 4 [5] 6 7 8