You are not logged in.

htillmann

Beginner

  • "htillmann" is male
  • "htillmann" started this thread

Posts: 30

Date of registration: Feb 25th 2009

Location: Beverungen / Weser

Occupation: Softwareentwicklung

  • Send private message

1

Monday, August 16th 2010, 11:05am

not closable window

Hi all,

I need to create a program for a touch screen teminal, running
always in the foreground, impossible to close. For the MDI-Child it's possible to
set the flags "closable","maximizable",etc , but not for the MainForm.
Does somebody now how to manage this with Jabaco?

On Linux I work around by making the window bigger than the screen resolution,
so the window frame and the buttons for closing are invisible
but XP always starts at (0,0) with the window.

greets
Hubertus

Peter

Trainee

  • "Peter" is male

Posts: 69

Date of registration: Nov 24th 2008

Location: Cologne, Germany

Occupation: Second Vice President of Distributed Junk and Trash Development

  • Send private message

2

Monday, August 16th 2010, 2:58pm

RE: not closable window

Hello Hubertus,

Borderstyle = vbBSNone

should solve your problem.



Greetings ... Peter

htillmann

Beginner

  • "htillmann" is male
  • "htillmann" started this thread

Posts: 30

Date of registration: Feb 25th 2009

Location: Beverungen / Weser

Occupation: Softwareentwicklung

  • Send private message

3

Monday, August 16th 2010, 3:22pm

Thanks Peter,

was too easy.

greets
Hubertus

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Monday, August 16th 2010, 11:36pm

Strangely enough, the following does not yield a main form bigger than the screen:

Jabaco Source

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Option Explicit

Public Sub Form_Load()
   Me.BorderStyle = vbFixedDialog
End Sub

Public Sub Form_Resize()
   Me.Move(-100, -100, Screen.Width + 200, Screen.Height + 300)   
End Sub

Public Sub Form_KeyPress(KeyAscii As Integer)
   If KeyAscii = 27 Then
      system.exit 1
   End If
End Sub


Any ideas, why?

b.t.w.: with Borderstyle = vbBSNone you can still close the application by using the task tray.

Greetings

A1880

htillmann

Beginner

  • "htillmann" is male
  • "htillmann" started this thread

Posts: 30

Date of registration: Feb 25th 2009

Location: Beverungen / Weser

Occupation: Softwareentwicklung

  • Send private message

5

Wednesday, August 18th 2010, 3:06pm

Hi A1880,

strange thing but no idea, sorry.
Did you try on a linux system?

greets
Hubertus

This post has been edited 3 times, last edit by "htillmann" (Aug 18th 2010, 4:32pm)


A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

6

Wednesday, August 18th 2010, 5:05pm

No, I haven't tried on Linux.
I suppose, the Linux behaviour depends on your desktop manager and on your X11 environment.
It might be possible to trap closing interrupts from within the calling shell.

Greetings

A1880

Rate this thread
WoltLab Burning Board