Search found 17 matches

by lavachri
Mon Apr 01, 2013 7:40 am
Forum: Windows
Topic: EditorGadget
Replies: 1
Views: 2034

EditorGadget

Hi,
i have some trouble in EditorGadget.
Sometimes i can't add char like "#", "{", ... using Alt+Control keys.

For example with this code :
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
SetActiveGadget( 0 ...
by lavachri
Thu Mar 28, 2013 4:39 pm
Forum: Coding Questions
Topic: EditorGadget and AltKey
Replies: 0
Views: 360

EditorGadget and AltKey

Hi,
In EditorGadget, i have some troubles to write some char like "#", "{",...

If i hit Alt+Control+3 a "#" is added,
but if i do :
1)hit several time Alt+PageDown
2 ) hit Alt+Control+3
instead of "#" an another symbol is added...

I'm using a french PC

It's possible to fix this problem ?

Thanks
by lavachri
Wed Nov 21, 2012 9:00 am
Forum: Coding Questions
Topic: AddKeyboardShortcut
Replies: 4
Views: 1466

Re: AddKeyboardShortcut

Hi,
i know + and | are different operator but it's possible to add modifiers and one key.

Sorry, i have found the problem...
It's skype and this globals shortcuts...
by lavachri
Tue Nov 20, 2012 8:00 pm
Forum: Coding Questions
Topic: AddKeyboardShortcut
Replies: 4
Views: 1466

AddKeyboardShortcut

Hi,
why the shortcuts Alt+Prior and Alt+Next don't work ?

If OpenWindow(0, 0, 0, 322, 205, "Test raccourcis Alt+Prior", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
StringGadget(0, 8, 10, 306, 20, "")
SetActiveGadget( 0)
AddKeyboardShortcut(0, #PB_Shortcut_Alt + #PB_Shortcut_Prior, 1 ...
by lavachri
Thu Nov 08, 2012 5:43 pm
Forum: Coding Questions
Topic: EditorGadget & Unicode
Replies: 5
Views: 1078

Re: EditorGadget & Unicode

Sorry, you are right !

I've finaly understood the "UTF8-File-Format" utility...

SetGadgetText( 0, Chr(8364) )
works only in Unicode and "Utf8-File-Format" setted

Thanks a lot
by lavachri
Thu Nov 08, 2012 2:55 pm
Forum: Coding Questions
Topic: EditorGadget & Unicode
Replies: 5
Views: 1078

Re: EditorGadget & Unicode

Yes, i know that character can have severals code identification, like ASCII ou Unicode.
but Chr() is for ASCII and your code doesn't works for me...

In fact, i want to read text from a file (UTF8) and display it.
But, if file contains euro character, for exemple, the display is not correct with ...
by lavachri
Thu Nov 08, 2012 10:38 am
Forum: Coding Questions
Topic: EditorGadget & Unicode
Replies: 5
Views: 1078

EditorGadget & Unicode

Hi,

some characters are not displayed correctly in unicode compilation...
Code to be compiled in unicode :
If OpenWindow(0, 0, 0, 322, 150, "EditorGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
EditorGadget(0, 8, 8, 306, 133)
L$ ="euro="+Chr(128)+" oe="+Chr(156)+#CRLF$
For a ...
by lavachri
Mon Sep 27, 2010 2:53 pm
Forum: Coding Questions
Topic: WebGadget and HtmlCode
Replies: 2
Views: 1022

Re: WebGadget and HtmlCode

Thanks,
it's good !
by lavachri
Mon Sep 27, 2010 1:47 pm
Forum: Coding Questions
Topic: WebGadget and HtmlCode
Replies: 2
Views: 1022

WebGadget and HtmlCode

Hi,
I have un ListIcon and a WebGadget.
i need to set HtmlCode in the WebGadget, but it don't work fine...

First if i hit up/down key in the list, no problems.
but if i set focus on the WebGadget (with F6), and i comeBack to fhe List (with F5), i can't move in list with up/down...
it seems the ...
by lavachri
Sun Jun 21, 2009 10:37 am
Forum: General Discussion
Topic: Freak, could you help us ? again...
Replies: 12
Views: 4263

Hi,
the problems is not we are blind, because nobody can't change it !

The purebasic have a natural good accessibility for blind people with screenreaders, but some little things can block the ScreenReader, and we can't use the application ...

This requests are not only for me but, in fact, to ...
by lavachri
Mon Jun 15, 2009 11:09 am
Forum: General Discussion
Topic: Freak, could you help us ? again...
Replies: 12
Views: 4263

Freak, could you help us ? again...

Hello,
I'm blind and j write applications for another blind people using JAWS ScreenReader.
PureBasic is cool but I have some problems for make accessible tools.

1) EditorGadget or StringGadget in multiline.
We can't use the popular "Insert+NumPad2" (JAWS Shortcut) to read all the text and JAWS is ...
by lavachri
Sun Jun 07, 2009 5:40 pm
Forum: General Discussion
Topic: Blind
Replies: 0
Views: 1216

Blind

Hello,
I'm blind, use Jaws ScreenReader, and code in PureBasic .
is there other blind's coder in this forum ?
I would like to share expérience about some problems with the IDE and some Gadget.
For example, with the editorgadget, it's not read all the text with the Insert+DownArrow shortcut.

Thanks
by lavachri
Mon May 04, 2009 10:53 am
Forum: The PureBasic Editor
Topic: Get Text
Replies: 0
Views: 1395

Get Text

Hi,
i want to make external tools for a better accessibility in editing code.
I need to get text of the IDE editor, but my code don't work !

hSCI = Val(GetEnvironmentVariable("PB_Tool_Scintilla"))
If hSCI
mem$ = Space( 1000 )
Len = SendMessage_( hSCI, #SCI_GETLINE, 1, @mem$ )
MessageRequester ...
by lavachri
Sat Apr 25, 2009 9:53 am
Forum: Coding Questions
Topic: Get Text of IDE Editor
Replies: 0
Views: 953

Get Text of IDE Editor

Hello,
because i can't use #SCI_FINDTEXT,
i'm trying to get the text of IDE (Scintilla Editor).
But if the returned lenght is good, my buffer is always empty !
I had use the VirtualAllocateMemory for the same result...

EnableExplicit
Global hSCI
Global Len, R,
Global *Buf
Global Text$

hSCI = Val ...
by lavachri
Fri Apr 24, 2009 9:25 am
Forum: Coding Questions
Topic: FindText in IDE editor
Replies: 5
Views: 2037

Thanks,
but je may be too bad ...
Pure continue to crash !
EnableExplicit

Global hSCI
Global P

Procedure GetProcessFromWindow(hwnd)
Protected pid.l = 0
Protected result.l = 0
If GetWindowThreadProcessId_(hwnd, @pid)
result = OpenProcess_(#PROCESS_ALL_ACCESS, #False, pid)
EndIf ...