Re: [Gambas-user] Gambas-user Digest, Vol 128, Issue 33

2017-01-28 Thread Martin McGlensey
Tobi,

Thanks for your reply. I'm trying to embed a window running another program
into a scrollview. I've added a scrollview to the form and put the embedder
into the scrollview. This works but, as the embedder is larger than the
scrollview it extends over the borders of the scrollview. It scrolls but,
the embedder moves outside the scrollview control. It seems to me that the
embedded window should scroll within the borders of the scrollview and not
be seen outside its borders. Something is not right. What am I missing?

How do I access the attachment as it was scrubbed from your reply?

Thanks

Marty
--

Message: 4
Date: Fri, 27 Jan 2017 22:07:31 +0100
From: Tobias Boege <tabo...@gmail.com>
Subject: Re: [Gambas-user] Scrollview control coding example
To: mailing list for gambas users <gambas-user@lists.sourceforge.net>
Message-ID: <20170127210731.GA726@aurora.localdomain>
Content-Type: text/plain; charset="us-ascii"

On Fri, 27 Jan 2017, Martin McGlensey wrote:
> I'm looking for an example of the use of the scrollview control. Have 
> spent about a week trying different approaches and web research. No luck
so far.
> Gambas help does not give enough detail.
> 
> I want to embed a window into the control and scroll the contents by 
> using the scrollbars. This may not be the tool to use. I'm open to 
> suggestions as to how to accomplish this. An explicit example would be a
great help.
> 
>  
> 
> All responses are appreciated.
> 

Attached is an example project which embeds 10 windows. There is really
nothing to say about it. Just create your controls inside the ScrollView and
it will add scrollbars if necessary. Anything more advanced depends on what
you want to do.

Regards,
Tobi

--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
-- next part --
A non-text attachment was scrubbed...
Name: test-0.0.1.tar.gz
Type: application/octet-stream
Size: 11565 bytes
Desc: not available




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Scrollview control coding example

2017-01-27 Thread Martin McGlensey
I'm looking for an example of the use of the scrollview control. Have spent
about a week trying different approaches and web research. No luck so far.
Gambas help does not give enough detail.

I want to embed a window into the control and scroll the contents by using
the scrollbars. This may not be the tool to use. I'm open to suggestions as
to how to accomplish this. An explicit example would be a great help.

 

All responses are appreciated.

 

Thanks

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to embed a window into a scrollable container

2016-12-31 Thread Martin McGlensey
Hello,

 

I have a window running a python program that I want to embed in a container
on a form. I have the embedder working with the main form. When I try to
embed the window into the Scrollarea container is just sits on top of the
control; the scroll bars are grayed out. I want to be able to move around
the embedded window so that a large window can be displayed in a smaller
area. Then I want to setup other controls (buttons  etc.) on the main form
to control other program functions. To point the embedder to the control on
the form I use hEmbedder = New Embedder(FMain.Children[1]) As "Panadapter".
This appears to get the embedded window near the Scrollarea.

 

I need help with the code and an example of the use of both the Embedder and
the ScrollArea would be of great help.

 

 

Thanks,

Marty

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Use of Embedder Component

2016-12-24 Thread Martin McGlensey
Hello,

 

I trying to embed a window running on the desktop in a form. The test app is
simple a form with a button and a frame. The code below is attached to the
"Start" button.  I'm running Gambas 3.9.1 under Mint 17 with the Mate
desktop.

 

What is the correct syntax for the Desktop.FindWindow command. I used the
title shown on the open window I want to embed. Not sure that was correct.

 

Thanks,

Marty

 



 

Gambas class file

 

Public Sub btnStart_Click()

  Dim hEmbedder As Embedder

  Dim iWindowinfoArray As Integer[]

 

  hEmbedder = New Embedder(iqpy) As "Panadapter"

  Print Desktop.ActiveWindow

  * iWindowinfoArray = Desktop.FindWindow("IQ.PY v. 0.30 de AA6E")

  hEmbedder.Embed(iWindowinfoArray[0])

 

End

Iqpy is the name of the frame on the form.

 

The error occurs at the line marked with the *.



50331653 < Result obtained for the active window (Print
Desktop.ActiveWindow)

 

The program 'Panadapter' received an X Window System error.

 

This probably reflects a bug in the program.

 

The error was 'BadWindow (invalid Window parameter)'.

  (Details: serial 672 error_code 3 request_code 20 minor_code 0)

 

(Note to programmers: normally, X errors are reported asynchronously;

   that is, you will receive the error a while after causing it.

   To debug your program, run it with the --sync command line

   option to change this behavior. You can then get a meaningful

   backtrace from your debugger if you break on the gdk_x_error() function.)

 

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 127, Issue 20

2016-12-20 Thread Martin McGlensey


Jussi,

The best way for me to answer your question is to include the attached
screenshot. Although the screenshot is static the data within the frame is
dynamic and constantly changing over time.  The "waterfall" at the bottom
scrolls from top to bottom over time. Hope this helps.

Marty
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to run a python program in a control on a form?

2016-12-19 Thread Martin McGlensey
Jussi,

Thanks for the suggestion. I do not think the drawingarea control will work.
All formatting and display is handled by the python routine. The output is a
continuous stream of data. Think of a sine wave displayed on an oscilloscope
or strip chart. I just need a way of positioning the python output window on
the Gambas form. Like a window where python can put its output.

Hope this helps.

Marty



--

Message: 5
Date: Tue, 20 Dec 2016 00:07:43 +0200
From: Jussi Lahtinen 
Subject: Re: [Gambas-user] How to run a python program in a control on
a   form?
To: mailing list for gambas users 
Message-ID:

[Gambas-user] How to run a python program in a control on a form?

2016-12-19 Thread Martin McGlensey
Hello,

 

I want to design a form containing the usual Gambas objects (buttons,
listboxes etc.). The form is used to input commands to the Python routine
that will continually output, in graphic form, the result of the Python
program. This routine will run until modified by the user by clicking on the
controls on the form. I want to integrate this "window" into the main form.
I do not want to open a second form to display the data. Hopefully I've
explained this properly. Please feel free to ask questions.

 

All responses are appreciated.

 

Regards,

Marty

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to stay on an added record after a save

2016-04-10 Thread Martin McGlensey
Hello,

 

 

I have a datasource on a form. Data controls are within the datasource. When
I add a record to the datasource using X.Create(True) a new record is
created and the datacontrols on the form add data to the datasource. Then I
save the data to the datasource using X.Save. This appears to work OK.
The problem is that after a save the form datacontrols are empty. I want the
form to display the data I just entered and saved. How can I do this. I want
to add a record. Then enter data and save the record and have the data
appear on the form after the save. I know it should be possible but, I need
help to do it.

 

Regards,

Marty

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301=/ca-pub-7940484522588532
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problems running project.gambas executable(Charlie Reinl)

2016-02-10 Thread Martin McGlensey
Charlie,

 

Thanks for the lead. I found I was missing one library in the project
executable directory. As you know I use DBReport as an integral part of my
project. I added obfuscation.gambas to the project directory and the
executable ran OK. Should I put all three components of DBReport in the
executable directory? I shell out to DBReport Designer so that works OK for
now. Should I add these libraries to the data section of the project code?
That way, I think, they would automatically be included in the executable.
When I ran the project in the terminal, after fixing it,  I got the
following message "Warning: 1 Allocation(s) not freed". Is this of concern
and what might be the cause?

 

Again thanks for your help.

 

Regards,
Marty

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problems running project.gambas ex

2016-02-08 Thread Martin McGlensey
Hello,

 

I have a Gambas project that I would like to run as an executable from the
desktop. I'm using the latest version of Gambas under Mint Rebecca 17.1.

When run in the IDE, for debugging, I have no problem getting the project to
run. When I make an executable I put it in the project directory with a
shortcut on the desktop. The files are project.gambas and project.desktop.
The permissions on the project.gambas file are rwx,rwx,rwx and marty, marty.
The project.desktop file is set to rw-,r--,r-and Marty, Marty.

 

When I click on the desktop icon the cursor shows that something is
happening but the project does not run; the cursor just goes away. Same
occurs if I go to the project directory and try form there. The OS tries to
load the project but, does not run it. No error messages occur.

 

I'm sure I've missed something but, what?

 

All responses are appreciated.

 

Regards,

Marty

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Help with DatGridView programing

2015-08-22 Thread Martin McGlensey
Hello,

 

I have a form containing a datasource and a datagridview control. Its
purpose is to display data and allow for edits and deletions on specific
rows in the datagridview. I can fill the datagridview with data. No problem
there. I select the row to be edited using the doubleclick event. 

 

I want to edit a column on a given row then programmatically set an existing
column (Last_Update) to a date as the edit is saved. Also I want to delete a
specific row selected by the user.  I think I should be able to do this by
making my changes to the DataGridView first and then saving the datasource
if the user accepts the changes.

 

I'm looking for the proper way to do this. Which one should I be working
with? So if you could list the proper sequence of steps I think I can write
the code. If your solution includes the data event however, the use of that
event still eludes me. So maybe an example here would help.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is the group still up?

2015-08-10 Thread Martin McGlensey
Is the group still publishing a digest? I have not seen one in a couple of
weeks.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem with MySQL syntax with DataSource

2015-08-04 Thread Martin McGlensey
Charlie,

 

Did as you suggested. Created new form with two datasources and two dataview
controls. Copied the relevant code into new form. Same error as with the
original form. When the original form was created the code did work. I think
it was back in Gambas 3.6 or so. Maybe it has something to do with upgrading
to the current flavor of Gambas.

 

What file do I upload to send the new form to the list? I do not want to
send the whole project to the list only the form in question. I'll try to
dump the table. If I cannot I'll send the structure.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with MySQL syntax with DataSource

2015-08-04 Thread Martin McGlensey
Charlie,

 

Here is the form and the data table. You will have to recode the connection
for the datasources as well as using an integer (1-200) for
frmEntry.DataControl.Value.

 

Regards,

Marty



Form_Test-0.0.1.tar.gz
Description: GNU Zip compressed data


tblparcel_numbers.sql
Description: Binary data
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with MySQL syntax with DataSource

2015-08-04 Thread Martin McGlensey
Charlie,

 

Thanks for the response. I thought it might be a bug as the routine worked
before. I do not think the work around will work as I want it to. My
understanding is that a datasource built on a query cannot be edited and
updated. I need to change the value of the key based on the user selecting a
record in datasource2.

 

I have looked at the data event of the datasource control and find it too
complicated to use. I have developed the form using the result object. I
believe that the key data can be changed easily with the syntax below:

 

hRow.Moveto(GridView2.Row)

hRow!Key = 0

hRow.Update

 

If this will modify the underlying recordset it should work for my purposes.
If there is a good example of the use of the data event to change a column's
value or a sample project please send it to me as an attachment to my email
off the list (mmcg29...@frontier.net).

 

Thanks to Adrien for fixing the bug in the daily builds. However I do not
have the knowledge to get this compiled and installed.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with MySQL syntax with DataSource and DataView

2015-08-03 Thread Martin McGlensey
Some more information. If I create a Result object using the syntax below
the SQL query executes properly.

 

Dim sSQL as String = Null

Dim hRows as Result = Null

 

sSQL = SELECT tblparcel_numbers.Key  FROM tblparcel_numbers WHERE
tblparcel_numbers.Key frmEntry.DataControl10.Value

hRows = modMain.$Con.Exec(sSQL)

 

If hRows.Available Then

hRows.MoveFirst

Message.Info(It Worked!   hRows!Key)

End If

 

If I look at the db.Subst as a string it is tblparcel_numbers.Key  2.
Which should be the correct syntax.

Looks to me as the datafile is OK and there is a bug in db.Subst.

 

If the SQL query/Result works what the problem with db.Subst?

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Re] Problem with MySQL syntax with DataSource

2015-08-03 Thread Martin McGlensey
Adrien,

 

Thanks for your reply. I am able to execute the query SELECT * FROM
tblparcel_numbers WHERE tblparcel_numbers.Key  '200'; using MySQL
Worrkbench. The query returns the expected data with no errors. So I think
that the datafile is OK. This is about 1% of a very large project. It will
take some time for me to write a test project and the data in the file is
confidential. If a form containing two datasources and a listing of the
tblparcel_numbers structure is all that is needed I think I can put that
together in a couple of days.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem with MySQL syntax with DataSource and DataView

2015-08-02 Thread Martin McGlensey
Hello,

 

I have the code below in my MySQL/Mariadb project.

 

 DataSource1.Connection = modMain.$Con

 DataSource1.Table = tblparcel_numbers

 DataSource1.Filter = db.Subst(tblparcel_numbers.Key = 1,
frmEntry.DataControl10.Value)

 DataSource1.Sort = Parcel_No

 DataView1.View.Columns.Width = -1

 

 DataSource2.Connection = modMain.$Con

 DataSource2.Table = tblparcel_numbers

 DataSource2.Filter = db.Subst(tblparcel_numbers.Key != 1,
frmEntry.DataControl10.Value)

 DataSource2.Sort = Parcel_No

 DataView2.View.Columns.Width = -1

 

Coding for DataSource1 works as expected. Returning records with a key equal
to the contents of the data control.

 

Coding for DataSource2 Fails. The error message is DataTable load until,
134: Query failed, You have an error in your SQL syntax.

 

The DataView2  shows some record numbers but nothing else. If you scroll
down you see the error message about a failure at  a specific
record. I've looked at the data and it appears to be OK. ,,= all work but
!= or  do not. All I get is a circular cursor indicating processing is
occurring but it looks like an endless loop. I want to load all records in
which the key is not equal to the datacontrol. What have I missed?

 

Using Gambas 3.8 with MySQL/MariaDB as the database.

 

Thanks,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Conversion of datacheckbox control value from text to integer

2015-07-16 Thread Martin McGlensey
Good Morning,

 

I have a MySQL database containing data moved from Access. There are four
checkbox fields containing text data (TRUE or FALSE). In my Gambas app these
fields are contained in a datasource that supplies data to four datacheckbox
controls. The app throws an error Wanted integer but got string. I assume
that means that the expression datacheckbbox1 = rstData!box1 returns a
string when the datacheckbox is looking for an integer. Is this correct? I
Is it -1 for true and 0 for false?

 

If so what is the best way to correct this? Should I change the data from
string to integer? Not so easy as it is a big table; lots of chance for
error there. Should I convert the data to the proper value using a function
(on Change) when the field is accessed or changed?

 

Looking for the best way to do this with minimal risk to the data.

 

Thank you for your help. All responses are appreciated.

 

Regards,

Marty

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 109, Issue 36

2015-06-23 Thread Martin McGlensey
Rolf,

Thanks for your response. The print example prints to a PDF without problem.
The only thing I see that could be a problem in the PDF is the last line on
page one appears to be split vertically along the centerline of the text.
That is 50% of the line appears on the last line and 50% appears on the
first line of page two. The text color is light gray not black as in the
body of the document. I know it sound weird  but that is what I see. I
suspect that this may be a formatting issue as I assume the example does
work.

My printer uses a cups driver supplied by the manufacturer. It is networked
through Samba to a PC running Windows 8. All other print functions work
without problem. I know how to delete documents from the queue but not how
to restart it. How is that done. Hopefully that gives you some more info and
I await your response.

Regards,
Marty

-Original Message-
Message: 2
Date: Mon, 22 Jun 2015 15:59:56 +0200
From: Rolf-Werner Eilert eilert-sprac...@t-online.de
Subject: Re: [Gambas-user] Gambas-user Digest, Vol 109, Issue 20
To: gambas-user@lists.sourceforge.net
Message-ID: 558814dc.9000...@t-online.de
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Try to print into a file, not to the printer. Then check what's happening.

When I print an empty PS document, the printer will warm, but never 
prints anything. But I'm on a bigger (terminal server) system here, and 
it has happened every few months or so that one of the printer queues 
gets mad. Then CUPS is my friend, deleting everything and restarting the 
queue will help.

But the reason might as well be in the setup of the printer queue, and 
it is for some random reason that printing with Gambas comes to the 
point where the queue gets confused.

When you can have a look into the printed file or you make it visible in 
a PDF viewer, maybe you will see at once what's going wrong...

Rolf



--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 109, Issue 20

2015-06-22 Thread Martin McGlensey
First, let me say I have always found help with my issues here. This time
however I have not found any useful information. As I have said before the
print example runs. The document is sent to the queue. The document is
listed as processing, but it never prints. No other document in the queue
will print. Canceling the document does not free up the queued documents.
The only fix I have found is to reinstall the printer.

I'm running Mint 17.1 Mate. I do not know how to  get any more info on the
system as Gambas does not crash per se. The program output just wrecks the
print queue. I do not know what a widget theme is or how to change it. Yes
I'm a newbie when it comes to a lot of the insides of Linux so simple
explanations go a long way.

Adding comments to the printing example would be a great help. Without
knowledge of the coding needed to print it is difficult to figure out what
is happening. A tutorial would be of benefit here. I cannot find any
documentation on printing from Gambas on the net. If you know of one please
let me know where it is. I cannot troubleshoot the print example as I have
no idea what all that complex code actually does.

I have other applications written in Gambas that do print without
difficulty. Still I believe Gambas is a good product and I will continue to
use it despite it's rough edges. I'll just find an alternative print
routine.

All comments and suggestions are welcome.

Regards,
Marty

-Original Message-

Message: 2
Date: Tue, 09 Jun 2015 22:27:29 +0200
From: Beno?t Minisini gam...@users.sourceforge.net
Subject: Re: [Gambas-user] Trouble printing from Printing Example
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Message-ID: 55774c31.9070...@users.sourceforge.net
Content-Type: text/plain; charset=windows-1252; format=flowed

Le 09/06/2015 17:13, Martin McGlensey a ?crit :
 Benoit thanks for your response. The problem is definitely related to the
 print example. Other apps, such as the text editor, printed perfectly
before
 running print example but not after it. This defect is reproducible. Did
you
 find anything in the error file I sent? I have another Gambas app that
 prints OK. So in my mind there is some problem with the example app.
 Unfortunately I do not know where to look for a solution. Hoped that the
 community would provide some guidance.

 Marty


I have fixed printing with GTK+3 in revision #7125. Can you try it?

Note that I don't know where your message come from. Maybe from the 
widget theme you are using.

With gb.gtk I have no message and using the printing example project 
works as expected. With gb.gtk3 I had other warning messages and then a 
crash. Now it works.

Can you send information about your system? If you install 'gdb', and 
crash the Printing example from the IDE, the IDE will be able to create 
all that information for you, plus a stack backtrace, which would be 
very interesting for me.

By the way, the font chooser crashes with gb.gtk3 inside GTK+3 library 
too. No idea why at the moment...

Regards,

-- 
Beno?t Minisini



--
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical  virtual servers, alerts via email  sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Trouble printing from Printing Example

2015-06-09 Thread Martin McGlensey
Good Morning,

 

I'm running Linux Mint 17.1 and Gambas 3.7.1. My printer is a Canon
Image-Class MF4150 connected through Samba to a PC running Windows 8. I have
installed the driver provided by Canon for Linux. Prior to running the Print
Example all worked with no problem. I was able to print a printer test page
and a file. The print queue emptied as it should.

 

I ran the print example in the debugger. Selected the print button to print
the file Molly Malone. The printer dialog opened and the document was sent
to the queue. OK so far. The document never printed and it showed
processing in the queue. After four to five minutes the document still had
not printed.  Other documents were behind waiting to be printed. Deleting
the stuck job did not release the other jobs. Rebooting did not help. No
other document, from any app, would not print. Had to delete and reinstall
the printer to get it to print again. Verified that the print example app
was at fault by printing a text file and a test page before running the app.

 

Attached are errors seen in the console during execution of the print
example. This is the first time I've tried to print so I'm not sure what to
do from here. I assume the app works or it would not be in the example file.
Maybe you guys can help and suggest what I can do to find the problem.

 

Thanks,

Marty


(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed
FMain.prtText_Draw.110: Printing page 1
FMain.prtText_Draw.110: Printing page 2

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed


(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed

(Printing:3024): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 
'GTK_IS_WIDGET (widget)' failed


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Trouble printing from Printing Example

2015-06-09 Thread Martin McGlensey
Benoit thanks for your response. The problem is definitely related to the
print example. Other apps, such as the text editor, printed perfectly before
running print example but not after it. This defect is reproducible. Did you
find anything in the error file I sent? I have another Gambas app that
prints OK. So in my mind there is some problem with the example app.
Unfortunately I do not know where to look for a solution. Hoped that the
community would provide some guidance.

Marty

-Original Message-
From: gambas-user-requ...@lists.sourceforge.net
[mailto:gambas-user-requ...@lists.sourceforge.net] 
Sent: Tuesday, June 9, 2015 10:38 AM
To: gambas-user@lists.sourceforge.net
Subject: Gambas-user Digest, Vol 109, Issue 18

Send Gambas-user mailing list submissions to
gambas-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/gambas-user
or, via email, send a message with subject or body 'help' to
gambas-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
gambas-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
Re: Contents of Gambas-user digest...


Today's Topics:

   1. Re: Gambas migration to github (or something else?)
  (Rolf-Werner Eilert)
   2. Re: Gambas migration to github (or something else?)
  (Beno?t Minisini)
   3. Re: Gambas migration to github (or something else?)
  (Rolf-Werner Eilert)
   4. Trouble printing from Printing Example (Martin McGlensey)
   5. Re: Trouble printing from Printing Example (Beno?t Minisini)


--

Message: 1
Date: Tue, 09 Jun 2015 08:25:51 +0200
From: Rolf-Werner Eilert eilert-sprac...@t-online.de
Subject: Re: [Gambas-user] Gambas migration to github (or something
else?)
To: gambas-user@lists.sourceforge.net
Message-ID: 557686ef.9080...@t-online.de
Content-Type: text/plain; charset=UTF-8; format=flowed


Am 09.06.2015 07:24, schrieb Adrien Prokopowicz:
 Le Tue, 09 Jun 2015 04:50:53 +0200, Beno?t Minisini 
 gam...@users.sourceforge.net a ?crit:

 Le 09/06/2015 04:21, Adrien Prokopowicz a ?crit :
 Le Sat, 30 May 2015 21:55:04 +0200, Beno?t Minisini 
 gam...@users.sourceforge.net a ?crit:

 Le 30/05/2015 21:42, Adrien Prokopowicz a ?crit :
 Le Sat, 30 May 2015 20:23:17 +0200, Beno?t Minisini 
 gam...@users.sourceforge.net a ?crit:

 Hi,

 I'm currently testing the SVN import feature of github for Gambas.

 The plan is to migrate from subversion to something else, that else
 having to provide git (or svn) and a bug tracker.

 The main reason is the Gimp sourceforge case.

 If anyone has a problem against using git instead of subversion, 
 please tell. I don't know how to use git yes, and I think it will 
 be better and faster.

 I don't know if I can import Google issues into github with the 
 Google code export, I will check.

 And at the moment, GitHub tells me that 87% of the repository is 
 imported, while sending me a mail telling that the import has 
 failed at the same time... Weird!

 Regards,

 I have used Github (and therefore Git) for both school and 
 personal projects for quite some time, so personally I have no 
 problem with Gambas switching to it.

 However, Github does not provide website hosting nor mailing-list 
 features, so will these stay on SourceForge ?

 Also, I haven't found any Gambas organization, do you plan to 
 make one before importing the repository ?

 Regards,

 I just created a personal account to check svn import.

 Have you had any success importing the svn repository to Github ?

 Yes, but there is no mailing-list. I'm thinking about gna! now...

 Oh right, I forgot about that ...

 I made some research around gna!, and I have a few questions :

 - gna! seems to have originated from GNU Savannah, but I couldn't
 find the exact reasons of this separation, and both look pretty
 similar to me. So why not going to Savannah (which seems bigger
 and directly supported by the FSF and GNU) ?

 - Also, thinking about gna!/savannah reminded me of this old
 proposition[0] to become a GNU project.
 I don't remember you actually accepting or rejecting it, nor
 being rejected by the GNU project, so what happened ?
 Maybe they could help with this hosting problem ...

 [0] https://sourceforge.net/p/gambas/mailman/message/32334826/

As far as I remember, GNU's restrictions for the source code and rules for
comments within the sources were too strict or badly adaptable to the Gambas
way of doing. In the end, the idea seemed to fail at this point, as nobody
was able or willing to rewrite the code to fulfill the requirements.

But I haven't read the archives yet, so it's purely taken from my memory
which has a high error rate ;)

Regards
Rolf




--

Message: 2
Date: Tue, 09 Jun 2015 13:13:23 +0200
From: Beno?t

[Gambas-user] How to use a toolbar

2015-06-03 Thread Martin McGlensey
Hello,

 

I'm trying to use a toolbar on a form. Have added gb.form.mdi to project and
added toolbar to form. Placed two tool buttons within the toolbar. I
understand that the toolbar is a container so the buttons should be within
it.

 

The problem is that no matter where I put the buttons (horizontally along
the toolbar) they seem to align themselves where they want to go rather than
where I place them in the tool bar. They want to crowd over to the left
margin on top of each other and then not in the order or position  I placed
them.

 

The Gambas Doc site appears to be down so I cannot get to the docs. So what
am I doing wrong and where can I find the docs on the toolbar? An example
would be helpful.

 

As always your responses are appreciated.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Form Open code skipped when using Form1 = New Form syntax.

2015-05-10 Thread Martin McGlensey
Hello,

 

I have a form (form) that has several controls on it. They are comboboxes,
textboxes and buttons. The comboboxes are initialized in the form open
procedure.

If I open a new form using Form1 = New form and call it from another form
the dropdown list of the comboboxes as well other variables are not
initialized on Form1. This should occur when the form opens but, in the NEW
instance the form open routine appears to be skipped. Of course without the
data contained in the comboboxes the code in the NEW instance fails.

 

Is there a way around this? How can I force the new instance (Form1) to
initialize properly?

 

Thanks,

Marty

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 107, Issue 12

2015-04-15 Thread Martin McGlensey
Marce,

Appreciate your suggestion. But, I'm totally confused by your explanation. I
do not know how to implement it. Could you provide an example? Send it as an
attachment to n3...@arrl.net. That way I'll get it. The intent is to read
the datasource.table   property on form A for use in form B and to assign
the datasource to a datasource object on form B. No changes need be made to
the datasource properties on form A.

Marty



Message: 1
Date: Tue, 14 Apr 2015 11:48:02 -0300
From: ML d4t4f...@gmail.com
Subject: Re: [Gambas-user] Reading control properties from a
collection
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Message-ID: 552d28a2.8040...@gmail.com
Content-Type: text/plain; charset=windows-1252

Marty,
Never a good idea to dirty your fingers poking a form's controls from
another one. Been there, done that, regretted it for a long time.

I'd do this instead, and it's a general-purpose approach that served me well
for a long time, no matter the cross-forms (or even cross-class) data you
need:

In the form (call it *frmA*) that has the data the other form (call it
*frmB*) needs, I'd publish the necessary data as appropriate type's *Public
Property*(*ies*).
I would also -if necessary- set up some kind of *Event* in *frmA* that
triggers when the sought data changes.

Then, in *frmB*, I'd *Dim* a *Private* *Object* of type *frmA* and instance
and show it whenever necessary.
In *frmB*'s event handler for *frmA*'s event -or in code, your call- I'd
check the *Public Property*(*ies*) of *frmA*.

Doing it this way not only isolates your data access from the underlying
implementation, but also you can radically change HOW you access data to be
published in *frmA* while not touching *frmB* at all.
Then, you may fetch data in *frmA* from a database, flat file or TCP socket,
and *frmB* will function the same, no code mods necessary. An additional
advantage is no time wasted on for-loops.

HTH,
zxMarce.

*On 14/Apr/2015 11:00, Martin McGlensey wrote:* Hello, I have a form that
contains a named datasource. I want to read the name and table properties of
that datasource from another form. Both forms are visible.
I've used the loop For each hWindow in Windows to test to see if the form
is visible. If it is I cycle through the control collection for that form
till I find an Object.Type = DataSource. So far so good - I can find the
datasource and assign it to a variant variable (DataTable).
Now if I do strX = DataTable.Name it returns DataSource1  instead of
Neighborhood the name of the datasource on the form containing the
collection.
I want to get to the datasource name and table from the first form. They
should be name=neighborhood and table=tblneighborhood. If I assign
frmEntry.Neighborhood to datatable on the second form then I get the correct
data returned. I think it should be possible to get this data from the forms
collection but, I have not figured out how.
So can it be done and if so how?
Regards,
Marty



--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I left justify text in a DataControl

2015-04-12 Thread Martin McGlensey
Tobi,

 

Thanks for your response. I have a form with one datasource and twenty two
datacontrols within that datasource. They are used to display name, address,
city, state and other data that fits together logically on one form. Now if
I implement your solution I need to apply it to all of the datacontrols on
the form that display text. Can  I use a For each loop, with a test for type
= datacontrol, to set the text position to 0? If that will not work do I
have to set each datacontrol explicitly? Should I put the loop code in the
datasource_Change event?

 

Regards,

Marty

 

A DataControl can take the form of one of TextBox, DateBox, ComboBox,
TextArea and ButtonBox, AFAICS. It's more difficult to find a general
solution, so I'll restrict myself to the case that you are displaying an
Integer, Long, Float or String (with less than 256 characters) field which
are precisely the cases where the DataControl uses a TextBox to display the
field.

 

Then you get that internal TextBox via DataControl.Control. You just take
this TextBox and go to cursor position zero:

 

 Dim hTextBox As TextBox = myDataControl.Control

 

 hTextBox.Pos = 0

 

This shows the left characters of the TextBox [ I have verified that it
works out like this, on my system ]. The other cases may be similar, except
DateBox which has no Pos property.

 

If you have a DataSource - DataBrowser - DataControl in your project, the
appropriate place to put the above code would be the DataSource_Change event
handler.

 

[ Also note that this is not about text alignment which you can control

  separately with a TextBox but simply about what part of the long text

  is displayed by the limited control. ]

 

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 107, Issue 10

2015-04-12 Thread Martin McGlensey


-Original Message-
Message: 1
Date: Sun, 12 Apr 2015 16:20:59 +0200
From: Tobias Boege tabo...@gmail.com
Subject: Re: [Gambas-user] How do I left justify text in a DataControl
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Message-ID: 20150412142059.GI3785@aurora
Content-Type: text/plain; charset=us-ascii

On Sun, 12 Apr 2015, Martin McGlensey wrote:
 How do I force a DataControl to display text, that is longer than the 
 control,  as left justified. That is if the control is sized to accept 
 ten characters, on the form,  and the text is twenty characters I want 
 to see the first ten. Now I see the last ten. Want to see the first 
 ten and be able to arrow over to see the next ten. Is there an align 
 property to address this?
 
 All solutions are welcome.
 

A DataControl can take the form of one of TextBox, DateBox, ComboBox,
TextArea and ButtonBox, AFAICS. It's more difficult to find a general
solution, so I'll restrict myself to the case that you are displaying an
Integer, Long, Float or String (with less than 256 characters) field which
are precisely the cases where the DataControl uses a TextBox to display the
field.

Then you get that internal TextBox via DataControl.Control. You just take
this TextBox and go to cursor position zero:

  Dim hTextBox As TextBox = myDataControl.Control

  hTextBox.Pos = 0

This shows the left characters of the TextBox [ I have verified that it
works out like this, on my system ]. The other cases may be similar, except
DateBox which has no Pos property.

If you have a DataSource - DataBrowser - DataControl in your project, the
appropriate place to put the above code would be the DataSource_Change event
handler.

[ Also note that this is not about text alignment which you can control
  separately with a TextBox but simply about what part of the long text
  is displayed by the limited control. ]

Regards,
Tobi

--
There's an old saying: Don't change anything... ever! -- Mr. Monk

Tobi,

Dim hTextbox as TextBox = DataControl.Control does not appear to work. Error
- Expecting number etc. Dim hTextArea as TextArea = DataControl.Controls
does work without error. Is that expected with a datacontrol or have I  made
an error?

Marty



***


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I left justify text in a DataControl

2015-04-12 Thread Martin McGlensey
How do I force a DataControl to display text, that is longer than the
control,  as left justified. That is if the control is sized to accept ten
characters, on the form,  and the text is twenty characters I want to see
the first ten. Now I see the last ten. Want to see the first ten and be able
to arrow over to see the next ten. Is there an align property to address
this?

 

All solutions are welcome.

 

Thanks,

Marty

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Errors in project made under 3.6.2 running in 3.7

2015-04-08 Thread Martin McGlensey
Hello,

 

I have a large database project that was about 80% debugged on Gambas 3.6.2.
I'm running Mint 17.1 and the underlying database is MySQL. Some of the
basic functions no longer work. I know that they had been working before the
upgrade. Before I spend a lot of time debugging this project is there some
simple  fix I can use to get it going again? I've put a lot of hours into
this project and now seem to be back at the beginning having to fix code
that worked before. Hard to believe that coding under 3.7 could be that
different. All suggestions welcome.

 

Thanks,

Marty

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is it safe to install v 3.7 from the stable PPA?

2015-03-19 Thread Martin McGlensey
Upgraded to V 3.7 of Gambas. Tried to compile a working app, built under
3.6.2. Could not find option Make exe. Perhaps this is related to the
Development Version issue.  Downloaded a copy of the app and found that it
would not extract. Archive manager freezes. Machine now crashed and I cannot
get it to boot without freezing. I do not think Gambas caused problem. May
have been one of the other updates. So is the stable PPA ok to use? I do not
want to have a problem on my other PC.

 

Regards,

Marty

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is Gambas 3.7 in the repository

2015-03-14 Thread Martin McGlensey
Hello,

 

Is Gambas 3.7 in the repository? I just tried to update my Ubuntu 14.04 LTS
box and did not see Gambas.

 

Thanks

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a

2015-01-21 Thread Martin McGlensey
Hello,

 

Thanks for the replies. Tried the .update method. That does not work. Just
returns an empty record. Finally wrote a small procedure to store the
datacontrol values in an array sized by the number of controls on the form.
(form.Children.Count) Then use a similar procedure to read the array back to
the datacontrols. This method seems to work. The procedures are small and
execute quickly. I'll try the datasource.cancel method and see if that
works. However I'm debugging a large project and cannot spend much more time
on this piece. I'll post the result of my test of the .cancel method.

 

Thanks,

Marty

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a

2015-01-20 Thread Martin McGlensey
Lee,

 

Thanks for your response. Yes I'm working with only one record at a time.
I'm unclear as to where to use the refresh method.  The form is used to
input data including name, address , phone and state. There is the
possibility that multiple datacontrols may be changed at one time. Must I
use the refresh method with each datacontrol or can I apply it to the
datasource? I've tried refreshing the datasource, in the cancel function,
but that does not seem to work. There is got to be a way of refreshing all
datacontrols on a form. One other question - If I create a record intending
to add data and then cancel by not updating the datasource is a blank record
added to the table?

 

Thanks

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Use of db.Begin, db.Commit and db.Rollback with a datasource and datacontrols

2015-01-19 Thread Martin McGlensey
Hello,

 

I have a form containing a datasource linked to a MySQL database table. The
datasource contains datacontrols to display the data from the underlying
table. There are buttons for add, edit, save, delete and cancel. The add
button creates a new record. The save button saves the record. The Edit
button allows change to the record. The cancel button cancels the changes.
The delete button deletes the entire record.

 

I would like the cancel button to cancel the add and all edits and
repopulate the form with the original data from the datasource table. If the
user hits the cancel button no change should be made to the table. The
delete button asks for confirmation before deleting the record.

 

I'm not so much looking for code so much but for advice on the proper
sequence of bd.begin etc. Should add and edit begin a transaction and save
commit the transaction? Should cancel rollback the transaction? The syntax
is $Con.Begin, $Con.Commit and $Con.Rollback. Is that correct? If my thought
is correct how do I get the form to display the original data?

 

Thanks

--
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I directly access the child controls in a panel container.

2015-01-10 Thread Martin McGlensey
Hello,

 

One can address a control on another form with fMain.txtHello.Text. This
syntax also works for other container objects. I have a form with a panel
control. There are several controls within the panel. To avoid naming
conflicts I want to keep the panel controls separate from the parent form.
Something like panel.txtEdit.Text would be great but, it does not work. I
can get the children collection of the panel and get the control names.
That does not help. I need to get to the control and use its properties and
events. Is there a way to do this?

 

Thanks

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to print a Gambas code list

2014-12-22 Thread Martin McGlensey
Hello,

 

Is it possible to print a copy of Gambas code, say a forms code, to a
document? This feature is in MS Access and it is very helpful. I use it
often. I do not see this option in Gambas. Have to use cut and paste to a
JEdit doc file. There is a risk of accidently deleting the code using this
method.

 

Thanks,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I remove an element of a multidimensional array

2014-12-05 Thread Martin McGlensey
Hello,

 

I need to remove one element of a  multidimensional array. The dimensions
are [10, 4]. I want to delete, for example, all elements of array row 1. Can
I do this?

 

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to capture click event on a popup menu

2014-12-03 Thread Martin McGlensey
Good Morning all,

 

I found the problem with the popups. Looking at the project that Bruce sent
I found that my syntax was exactly the same as he used in the example
project. Since his project worked and mine did not the problem had to be
something other than syntax. Looking at the project properties I found that
Bruce used the qt4 and qt4extended components. I had gb.gui. When I changed
to qt4 components in my project the popups worked. They do not work using
gb.gui. Without Bruce's project I probably would never have found the
problem and given up on popups.

 

Perhaps little details like this should be included in the documentation.

 

Thanks to all who responded especially Bruce.

 

Regards,

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] how to capture click event on a popup menu.

2014-12-02 Thread Martin McGlensey
Hello,

 

I've used the menu to create menus on my main form. Those that I want to see
on the tool bar are marked visible. Those that I want to use as popups are
not visible on the tool bar. These two menus are attached to individual text
boxes in the graphic form designer. When I right click on the textbox the
popup appears but, when I click on it nothing happens. In the form code I
have the sub:

 

Private Sub mnuA_Click()

FForm.Open

End

 

The form FForm does not open. In the debugger I can see the click event is
not captured. What did I miss?

 

Thanks,

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to capture click event on a popup menu.

2014-12-02 Thread Martin McGlensey
Thanks for the responses. Remember I'm still climbing that steep learning
curve. The sub to catch the click event is Public Sub mnuAdvanced_Click()
but that does not catch the event. I do not know how declare or find the
event name. The menu was created in the form menu editor, so how do I define
an event name?

 

Thanks,

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] how to capture click event on a popup menu.

2014-12-02 Thread Martin McGlensey
Thanks Bruce, I study it tomorrow when my mind is clearer. It's late here
and I need to get some rest.

 

Regards,

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How do I pass a user parameter from a dialog form?

2014-11-20 Thread Martin McGlensey
Thanks, Tobi. That answered my question. Yes I could use some help with the
German comments. Are there any limits on the number of data items that can
be returned?

 

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I pass a user parameter from a dialog form?

2014-11-18 Thread Martin McGlensey
Hello,

 

I have created a dialog form. As created by Gambas, it has an OK and Cancel
button. I want to return three properties or an array from the form. One
each for the three textboxes on the form.

I added a textbox to the form to test it. Call it Textbox1. Used the code
below to add a property called Login to the Dialog:

 

Property Login As String

Private strLogin AS String

 

Private Function Login_Read()

Return txtTextbox1.Text

Return

 

Private Sub Login_Write(Value as String) as String

strLogin = Value

End

 

I call the Dialog from the main form by frmDialog.ShowModal. When I load the
frmDialog, enter the text in the textbox and click OK. The Dialog closes but
no value is returned to the main form.

If I explicitly set Login_Read to Return XYZ it works  properly. It
returns XYZ to the main form. If I try to get the contents of
Textbox1.Text it returns an empty string. There has got to be a way of
returning the value of a textbox as a property of a dialog form.  I'd rather
not use public variables on the main form as there are too many variables
already.

 

Would you guys please point me in the right direction.

 

Thanks,

Marty

 

 

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How do I pass a user parameter from a dialog form?

2014-11-18 Thread Martin McGlensey
Tobi,

 

Thanks for your response. I did not get the attachment. It was scrubbed of
the list. Would you please send it to my personal e-mail
(mmcg29...@frontier.com mailto:mmcg29...@frontier.com ). The method of
adding a property should work. I tried adding a Class but, I'm not real sure
how to do it.

 

Appreciate your help.

 

Regards,

Marty

--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration  more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] I think I might have a corrupt project

2014-11-12 Thread Martin McGlensey
Tobi,

 

The project was created by user marty not root. The permissions on the
project directory and the backup directory are the same. Owner = marty read
and write, group = marty read and write and other read only. I've copied all
of the files into the new database using sources - new - form - existing
.. I'm still getting unknown symbol errors. Newest is filechooser1 is
unknown. Is there a component missing?

 

I got the backup to run by using the save as suggested by Charlie. I know
the last form I was working on before the problems occurred. Should I delete
this form in the original project and import the one in the working backup?
I'm thinking that the problems are related to this form. I think I'll copy
or archive the working BU to some other location on the drive before I do
anything further. What do you think?

 

Thanks,

Marty

 

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] I think I might have a corrupt project

2014-11-11 Thread Martin McGlensey
Hello,

 

Have a large Gambas database app that I have been developing over the past
year. It had been working well up until last night. I was adding a new form
and debugging an older one. Now I'm getting strange error messages. For
example - Message.Info(You are in bad trouble now!) gets unable to load
image error. Originally this project was developed under Gambas 3.5.X now
using 3.6.1 on Ununtu 12.04.

 

Worse than that this code, that had been ok before,  returns Type mismatch:
Wanted Boolean got Function on the line  Neighborhood.Connection =
modMain.$Con. The Query above the error works as it should. The connection
appears OK since the query works. It's only the DataSource Neighborhood that
errors out. This error occurs on all forms that have a DataSource object
regardless of its name or datatable. If I create a new project with the same
code, one form and datasource, and message.Info() it works. The problem has
to be in the project.

 

Is there any way too fix this? This is a large project with a database that
is large and confidential. So I can't send it. My backup runs OK but it is a
read only I cannot edit it. Can I change this attribute?

 

ModMain opens the connection to the MySQL database HOA_Data:

 

  Code in modMain

   

   Public Procedure Connect()

$Con.Close()  ' Close the connection

$Con.Type = mysql   ' Type of connection

$Con.Host = localhost   ' Name of the server

$Con.Login = User   ' User's name for the connection

$Con.Port = 3306' Port to use in the connection,
usually 3306

$Con.Name = HOA_Data' Name of the database we want to
use

$Con.Password = ' User's password

Try

   $Con.Open()' Open the connection

Catch

   If Error Then Print Message.Info(Connection Failed)


   

   End

  --

This code is common to all forms: 

 

  Code in form_Open()

  

  Dim $Query As String

  Dim strTest As String

   

  $Query = SELECT tblneighborhood.* FROM tblneighborhood;

  modMain.$Result = modMain.$Con.Exec($Query)

  modMain.$Result.MoveFirst

  strTest = modMain.$Result!Last_Name

  

  Neighborhood.Connection = modMain.$Con

  Neighborhood.Table = tblneighborhood

  Neighborhood.Sort = Last_Name

  Neighborhood.MoveFirst

 

Thanks,

Marty

 

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] I think I might have a corrupt project

2014-11-11 Thread Martin McGlensey
Tobi,

 

Did as you suggested. 

 

  $ cd /your/project/directory

  $ rm -r .gambas

  $ gbc3 -ga

 

Had to be root to rm the .gambas directory. Recompiled usin gbc3 -ga. Files
in .gambas directory now show date of 11/11.

 

Errors still present. No change. If it's syntax. How can I find the
offending code?

 

Marty

 

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] I think I might have a corrupt project

2014-11-11 Thread Martin McGlensey
Tobi,

 

Some more information. I created a new project then imported the minimal
files need to test it from the original project. They are the Main Men
(startup class), form1, form2 and the module containing the connection.
Commented out all references to forms not loaded. Now the connection and
message errors are gone. Form1 and form2 will load and show data as they
should. There is a new error however. It comes with the line
Me.DataCombo1.Table = tbllocation. The error message is Unknown symbol
'DataCombo1' in container. The DataCombo box is in the datasource container
with the other datacontrols. If I comment out the code for the DataCombo box
the form loads properly. Tried adding a regular combobox outside the
datasource and tried programming it. This generated the error as the
datacombo box. The three forms loaded in the new project are not the ones I
was working on prior to the problem.

 

What should I do now?

 

Regards

Marty

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Datasource.Filter does not work

2014-11-08 Thread Martin McGlensey
Thanks, Bruce. That worked. Suggest they update the documentation to show
Datasource.Filter = db.Subst(Field 1, Text) instead of Datasource.Filter
= string. That may save someone else a few hours of debugging.

 

Regards,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Make Datacontrol act like textbox with password set to

2014-11-06 Thread Martin McGlensey
Thanks, Tobias. Routine works perfectly. 

Regards,
Marty

-Original Message-
From: gambas-user-requ...@lists.sourceforge.net
[mailto:gambas-user-requ...@lists.sourceforge.net] 
Sent: Wednesday, November 5, 2014 1:45 AM
To: gambas-user@lists.sourceforge.net
Subject: Gambas-user Digest, Vol 102, Issue 6

Send Gambas-user mailing list submissions to
gambas-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/gambas-user
or, via email, send a message with subject or body 'help' to
gambas-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
gambas-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific than
Re: Contents of Gambas-user digest...


Today's Topics:

   1. Re: Directory navigation in IDE PictureBox Picture property
  not working (Beno?t Minisini)
   2. Error configuring gambas3.6.1 (ePost)
   3. Make Datacontrol act like textbox with password set   to true
  (Martin McGlensey)
   4. Re: Make Datacontrol act like textbox with password set to
  true (Tobias Boege)
   5. Re: Directory navigation in IDE PictureBox Picture property
  not working (Lee)
   6. Re: Problems compiling Gambas 3.6.1 (Sebastian Kulesz)
   7. Issue 576 in gambas: TextBox.Select not reliable
  (gam...@googlecode.com)


--

Message: 1
Date: Mon, 03 Nov 2014 17:34:36 +0100
From: Beno?t Minisini gam...@users.sourceforge.net
Subject: Re: [Gambas-user] Directory navigation in IDE PictureBox
Picture property not working
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Message-ID: 5457ae9c.5060...@users.sourceforge.net
Content-Type: text/plain; charset=windows-1252; format=flowed

Le 03/11/2014 16:59, Lee a ?crit :
 Hello,

 When I try to select a picture in the IDE PictureBox Picture property, 
 the directory navigation does not seem to work. Clicking on any of the 
 directories in the navigation bar (screenshot attached) does not 
 change the current selected directory.

 I don't know if it's my system or not, but I have tried with two 
 different users.

 [System]
 Gambas=3.6.0
 OperatingSystem=Linux
 Kernel=3.10.54-desktop-2.mga3
 Architecture=x86
 Distribution=Mageia 3
 Desktop=KDE4
 Theme=Oxygen
 Language=en_US.UTF-8
 Memory=1005M
 [Libraries]
 Cairo=libcairo.so.2.11200.12
 Curl=libcurl.so.4.3.0
 DBus=libdbus-1.so.3.7.2
 GStreamer=libgstreamer-0.10.so.0.30.0
 GStreamer=libgstreamer-1.0.so.0.5.0
 GTK+3=libgtk-3.so.0.600.4
 GTK+=libgtk-x11-2.0.so.0.2400.17
 OpenGL=libGL.so.1.2.0
 Poppler=libpoppler.so.34.0.0
 Qt4=libQtCore.so.4.8.6
 SDL=libSDL-1.2.so.0.11.4


 Lee


Picture files used by control properties must be located inside the project.
This is why the tab is named Project, but maybe it is not very clear...

Regards,

--
Beno?t Minisini



--

Message: 2
Date: Mon, 3 Nov 2014 19:28:17 +0100
From: ePost ep...@skellner.de
Subject: [Gambas-user] Error configuring gambas3.6.1
To: gambas-user@lists.sourceforge.net
Message-ID: 001801cff793$f06c0d20$d1442760$@skellner.de
Content-Type: text/plain;   charset=us-ascii

Hello,

I can't configure gambas 3.6.1
(./reconv-all done with success, reconv in ./main got same information about
configure.ac and configure.in)

The following error occurs:

bananapi@SKELLNER22 ~/gambas3-3.6.1 $ ./configure -C
configure: loading cache config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking whether make supports nested variables... (cached) yes
checking whether make supports nested variables... (cached) yes
checking build system type... (cached) armv7l-unknown-linux-gnueabihf
checking host system type... (cached) armv7l-unknown-linux-gnueabihf
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
=== configuring in main (/home/bananapi/gambas3-3.6.1/main)
configure: running /bin/bash ./configure --disable-option-checking
'--prefix=/usr'  --cache-file=../config.cache --srcdir=.
configure: loading cache ../config.cache
./configure: line 2068: syntax error near unexpected token `main'
./configure: line 2068: `GB_INIT(main)'
configure: error: ./configure failed for main
bananapi@SKELLNER22 ~/gambas3-3.6.1 $ 

Any idea to solve the problem.?

Best regards
Simon Kellner



--

Message: 3
Date: Mon, 3 Nov 2014 15:45:47 -0500
From: Martin McGlensey mmcg29...@frontier.com
Subject: [Gambas-user

[Gambas-user] Datasource.Filter does not work

2014-11-06 Thread Martin McGlensey
Hello,

 

Using Gambas 3.6.1 on Ubuntu 12.04. I have a datatable called tblUsers
with the following columns:  Record_No, User, Password and last_Update.
Record_No is the primary index. I have verified that there are two records
in the datatable. Have the following code:

 

Login.Connection = hConn

Login.Table = tblUsers

Login.Sort User

 

 

This populates two datacontrols within the datasource  container Login. That
works because I see the data in the datacontrols and it is correct. I know
the value 'Marty' is in the field 'User' in the table.

 

Now further down in a sub login.Filter = User =   txtLogin.Text, where
txtLogin.Text = Marty,  I get query failed, unknown column 'Marty' in
where clause

 

This syntax used to work as I have it in other modules that I have tested
previously. Now they also do not work as before. The Wiki says the syntax is
like the where clause. So it should work as I have written it. Where have I
gone wrong?

 

Thanks,

Marty

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Make Datacontrol act like textbox with password set to true

2014-11-03 Thread Martin McGlensey
Hello,

 

I need to have users enter a password into a data control. The password
should be hidden from view as the user types. This can be done in a textbox
by setting the password property to true. Nice but, there is no password
property for a data control. An old post by Bennoit suggests  the following:

 

Dim hTextbox As TextBox = MyDataControl.Children[0]

hTextBox.Password = True

 

The first statement returns error - Wanted textbox got datacontrol   Is it
=Datasource.Children or is it =datacontrol like Datacontrol4? 

 

Maybe you guys could point out my mistake or suggest a better way. I'm using
Gambas 3.6.2 on Ubuntu 12.04.

 

Thanks,

Marty

 

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Installation of Gambas 3.6 from PPA

2014-10-19 Thread Martin McGlensey
Hello,

 

If I install from the ppa must I uninstall 3.5.4 before installing 3.6 and
if so how? I assume apps written with 3.5.4 are compatible with 3.6. Thanks
for your responses.

 

Marty

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to update Gambas 3.5.4 to 3.6

2014-10-18 Thread Martin McGlensey
Hello,

 

Will Gambas 3.5.4 upgrade to 3.6 automatically? If not what is the correct
way to update it?

 

Thanks,

Marty

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How do I access Complex Repotr.pdf?

2014-02-25 Thread Martin McGlensey
Fabien,

 

I have the same problem as Willy. I need to write the same type of report.
Have tried all the combinations he reported. I have read your suggestion to
him but, I do not know how to begin to write the code. An example would be
of great help.

 

Thanks,

Marty

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user