Forums


Comfort Software :: Forums :: Development
<< Previous thread | Next thread >>   


Author Post
Barbetto80
Tue May 27 2008, 10:30am
Registered Member #116
Joined: Tue May 27 2008, 09:24am
Posts: 5
ps my workaround if useful:

<span id='int_tsc' style='position:absolute;top:-100px;left-100px;'></span>
<script>
var tsc_sh=\"<OBJECT ID='CsShowKeyboardFormX1' WIDTH=0 HEIGHT=0 \";
tsc_sh+=\"CLASSID='CLSID:90B8E669-2EE4-47BC-B7C9-C0CB5C80A86E' \";
tsc_sh+=\"CODEBASE='http://www.comfort-software.com/keyboard/cskeyboard.ocx'> \";
tsc_sh+=\"<PARAM NAME='Visible' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='AutoScroll' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='AutoSize' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='AxBorderStyle' VALUE='1'> \";
tsc_sh+=\"<PARAM NAME='Caption' VALUE='Comfort On-Screen Keyboard Panel'> \";
tsc_sh+=\"<PARAM NAME='Color' VALUE='4278190095'> \";
tsc_sh+=\"<PARAM NAME='Font' VALUE='Tahoma'> \";
tsc_sh+=\"<PARAM NAME='KeyPreview' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='PixelsPerInch' VALUE='96'> \";
tsc_sh+=\"<PARAM NAME='PrintScale' VALUE='1'> \";
tsc_sh+=\"<PARAM NAME='Scaled' VALUE='-1'> \";
tsc_sh+=\"<PARAM NAME='DropTarget' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='HelpFile' VALUE=''> \";
tsc_sh+=\"<PARAM NAME='PopupMode' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='ScreenSnap' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='SnapBuffer' VALUE='10'> \";
tsc_sh+=\"<PARAM NAME='DockSite' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='DoubleBuffered' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='UseDockManager' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='Enabled' VALUE='0'> \";
tsc_sh+=\"<PARAM NAME='AlignWithMargins' VALUE='0'> \";
tsc_sh+=\"</OBJECT>\";

var tsc_hi=\"<OBJECT ID='CsShowKeyboardFormX1' WIDTH=0 HEIGHT=0 \";
tsc_hi+=\"CLASSID='CLSID:9D571E34-3146-471F-B148-2AC0989BC7A4' \";
tsc_hi+=\"CODEBASE='http://www.comfort-software.com/keyboard/cskeyboard.ocx'> \";
tsc_hi+=\"<PARAM NAME='Visible' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='AutoScroll' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='AutoSize' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='AxBorderStyle' VALUE='1'> \";
tsc_hi+=\"<PARAM NAME='Caption' VALUE='Comfort On-Screen Keyboard Panel'> \";
tsc_hi+=\"<PARAM NAME='Color' VALUE='4278190095'> \";
tsc_hi+=\"<PARAM NAME='Font' VALUE='Tahoma'> \";
tsc_hi+=\"<PARAM NAME='KeyPreview' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='PixelsPerInch' VALUE='96'> \";
tsc_hi+=\"<PARAM NAME='PrintScale' VALUE='1'> \";
tsc_hi+=\"<PARAM NAME='Scaled' VALUE='-1'> \";
tsc_hi+=\"<PARAM NAME='DropTarget' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='HelpFile' VALUE=''> \";
tsc_hi+=\"<PARAM NAME='PopupMode' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='ScreenSnap' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='SnapBuffer' VALUE='10'> \";
tsc_hi+=\"<PARAM NAME='DockSite' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='DoubleBuffered' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='UseDockManager' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='Enabled' VALUE='0'> \";
tsc_hi+=\"<PARAM NAME='AlignWithMargins' VALUE='0'> \";
tsc_hi+=\"</OBJECT>\";

function show_tsc() {
document.getElementById('int_tsc').innerHTML=tsc_sh;
}
function hide_tsc() {
document.getElementById('int_tsc').innerHTML=tsc_hi;
}
</script>

[ Edited Mon Dec 14 2009, 09:22am ]
Back to top
Moderators: Comfort

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System