Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Code Samples & Tips > Official Updates
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Official Updates Updates to official libraries could be found here.
This forum is only available to licensed users.

Door library (Beta) - Special library

Reply
 
LinkBack Thread Tools Display Modes
  #51 (permalink)  
Old 12-08-2008, 04:53 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Klaus, did you see this library I posted a while ago? http://www.basic4ppc.com/forum/addit...html#post14845 It provides F1 help as well as ToolTips for individual controls.

EDIT:- Of course you did, I just refreshed my memory of the interchange we had in that thread.

Last edited by agraham : 12-08-2008 at 06:04 PM.
Reply With Quote
  #52 (permalink)  
Old 12-08-2008, 05:13 PM
klaus's Avatar
Basic4ppc Expert
 
Join Date: Oct 2007
Location: Fully, Switzerland
Posts: 3,827
Awards Showcase
Forum Contributer Beta Tester Competition Winner 
Total Awards: 3
Default

Hi Andrew,

I am afraid that M. Alzheimer has joined me, I really didn't remember this.
Anyway I am somewhere glad that I reinvented that wheel on my own in playing with the Door library.

The 'funny' thing is that I asked you for that at that time. I remembered something but not this.

Best regards and sorry.
__________________
Klaus
Switzerland
Reply With Quote
  #53 (permalink)  
Old 12-08-2008, 06:03 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Quote:
Originally Posted by klaus View Post
sorry.
There's no need to apologise. I just wondered if you had remembered that the library existed.
Reply With Quote
  #54 (permalink)  
Old 09-10-2010, 09:44 PM
Junior Member
 
Join Date: Mar 2010
Posts: 28
Default MinimizeBox

is there a way to use the Door library to make sure that the minimixebox is not showing (i need to make sure that the app will have the "x" button on the top right hand not the minimizebox)

i know that Formlib can do that, but i'm interested in doing it using the Door library if it is possible.

a code example will be a perfect to answer to my question

Thank you all
Reply With Quote
  #55 (permalink)  
Old 09-11-2010, 11:50 PM
Basic4ppc Veteran
 
Join Date: May 2008
Location: Newcastle Upon Tyne - England
Posts: 269
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Not tested, but something like this?

Obj1 is a Door object:

Code:
Obj1.New1(False)
Obj1.FromControl(
"Form1")
Obj1.SetProperty(
"MinimizeBox",False)
Reply With Quote
  #56 (permalink)  
Old 12-09-2010, 07:57 PM
Knows the basics
 
Join Date: Aug 2010
Location: Russia
Posts: 64
Default


How is possible to use Door.dll for a call
PowerPolicyNotify(PPN_UNATTENDEDMODE, true)
MSDN link
Reply With Quote
  #57 (permalink)  
Old 12-10-2010, 12:11 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

This is not a .Net method. You cannot call it directly with the Door library.
__________________
Basic4android documentation
Reply With Quote
  #58 (permalink)  
Old 12-10-2010, 06:58 PM
Knows the basics
 
Join Date: Aug 2010
Location: Russia
Posts: 64
Default

Erel, I didn't know it...
About this method wrote chanppc Here, and I have thought that it will work...
Reply With Quote
  #59 (permalink)  
Old 01-13-2011, 11:14 AM
Knows the basics
 
Join Date: Aug 2010
Location: Russia
Posts: 64
Default

Please, help me with such question:
How to get values of fields from structure properties of control/form?
For example, Control.Font.Size, Control.Font.Name, e.t.c.

My code returns "0" -
Code:
Obj.New1(False)
Obj.FromControl(
"Button1")
FontInfo.CreateNew(
"System.Drawing.Font" & FontInfo.System_Drawing)
FontInfo.Value = Obj.GetProperty(
"Font")
Msgbox(FontInfo.Value.Name)
Reply With Quote
  #60 (permalink)  
Old 01-13-2011, 12:01 PM
agraham's Avatar
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 5,953
Awards Showcase
Innovator medal Beta Tester Forum Contributer 
Total Awards: 3
Default

Code:
    Obj1.New1(False)
Obj2.New1(
False)
Obj3.New1(
False)
Obj1.FromControl(
"Button1")
Obj2.Value = Obj1.GetProperty(
"Font")
Obj3.Value = Obj2.GetProperty(
"Size")
Msgbox(Obj2.GetProperty("Size"))
Msgbox(Obj2.GetProperty("Name"))
Msgbox(Obj2.GetProperty("Style"))
Actually you can't do any more with a Font in the Compact Framework than is already exposed by the Control itself (Size) and the FormLib library (Name and Style).
__________________
Sorry, but I don't answer questions by PM or email.
Please post your queries in the forum.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging Outlook library and Phone library Erel Official Updates 11 09-15-2010 10:22 AM
PhoneticAlgorithms Library (ex-StringComparison Library) moster67 Additional Libraries 10 11-11-2008 08:46 PM
Order a table with the library DOOR manu Beta Versions 0 09-04-2008 08:16 PM
Door Library Null Reference Exception sahoopes Bug Reports 1 07-15-2008 05:46 AM
New serial library - beta version Erel Announcements 13 08-02-2007 01:24 PM


All times are GMT. The time now is 04:19 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0