Search found 7 matches

by localhero
Sun Jul 29, 2007 8:22 pm
Forum: Mac OSX
Topic: Setting wordwrap to auto in editor gadget
Replies: 5
Views: 7883

Thanks for your reply michel51.

I found GetControlProperty in CarbonLib library reference here

http://developer.apple.com/documentation/Carbon/Reference/Control_Manager/Reference/reference.html

Fred gave the syntax for using GetControlProperty function to obtain a reference to the address of a ...
by localhero
Wed Jul 25, 2007 8:18 pm
Forum: Mac OSX
Topic: Setting wordwrap to auto in editor gadget
Replies: 5
Views: 7883

Setting wordwrap to auto in editor gadget

Here is my attempt to use Carbon API to set wordwrap to auto for an editorgadget.


;OSX Wordwrap Test
;Uses Carbon API calls

;imported to purebasic using pbsoimporter
;wordwrap.pbl
;
;-framework Carbon
;GetControlProperty 6
;TXNSetTXNObjectControls 5

;-Init Variables
displaytext.s=""
status ...
by localhero
Tue Jul 24, 2007 3:58 pm
Forum: Mac OSX
Topic: PB Mac OSX API examples
Replies: 11
Views: 8325

Just found out that if you choose 'help/documentation' from the Xcode tools menu you get the list of all the Apple API reference docs (including the carbon library). If you then choose 'API Search' from the top right search box you get a list of all the functions/types/ constants/macros available ...
by localhero
Sun Jul 15, 2007 2:30 pm
Forum: Mac OSX
Topic: Editorgadget wordwrap
Replies: 2
Views: 2941

Editorgadget wordwrap

Oh well, I'll just have to wait until Fred codes the wordwrap flag for the editor gadget that was requested back in 2004. Until then my OS X application is on a back burner.
by localhero
Fri Jun 29, 2007 12:59 pm
Forum: Mac OSX
Topic: Editorgadget wordwrap
Replies: 2
Views: 2941

Editorgadget wordwrap

I am just wondering is it possible to make a scintilla call using

SCI_SETWRAPMODE(int wrapMode)

to enable wordwrap and solve my long standing problem? Any sample code would be appreciated.
by localhero
Mon Jun 25, 2007 1:58 pm
Forum: Mac OSX
Topic: Editorgadget wordwrap
Replies: 2
Views: 2941

Editorgadget wordwrap

PureBasic 4.00 Beta 1 for MacOS X is now up and running on my PPC Mac Mini, but there is a something that I need to be able to do to make progress with a Mac application.

How can I enable wordwrap for an editorgadget?
by localhero
Fri Sep 08, 2006 4:46 pm
Forum: Mac OSX
Topic: EditorGadget wordwrap and scroll
Replies: 0
Views: 2166

EditorGadget wordwrap and scroll

I already know that I can make the editorgadget wordwrap and scroll down and show the last line by using windows API messages when compiling for windows. After much searching of this forum and other places I still have no idea how to do the same functions with OS X purebasic.

I have noticed that ...