The height of mx:RichTextEditor in VDividedBox cannot be reduced to less than 200.
I'm using <mx:VDividedBox >, in which there are a mx:RichTextEditor and mx:Image, as in the code below.
When I dragged the divider of the VDividedBox to resize the heights of the Image and RichTextEditor, I found that the height of the
RichTextEditor cannot be reduced to less than 200. Is this a bug?
I replaced RichTextEditor with TextArea, then divider of VDividedBox works fine. I use Flash Builder 4.5. Please try the following code, and
post you result here. Let's help Adobe to make Flex better.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script><![CDATA[
import mx.controls.Alert;
[Bindable] public var imageSrc:String = "http://cseligman.com/text/sky/perigeeapogee.jpg";
private function showHeight():void {
Alert.show(this.rte.height.toString());
]]></fx:Script>
<mx:VDividedBox width="100%" height="100%" >
<mx:Image id="image_edit" source="{this.imageSrc}" scaleContent="true"
horizontalAlign="center" verticalAlign="bottom" width="100%" height="100%"
/>
<mx:RichTextEditor id="rte"
width="100%"
text="The Moon.... Click me to show my height." click="showHeight()"/>
</mx:VDividedBox>
</s:Application>
try setting minHeight of the RTE to 0
Similar Messages
-
My iPhoto doesnt allow me to place more photos, says that the space is full but my mac book pro is new (less than 2 weeks) and I only got 500 photos, what should I do?? the computer is almost empty
Apply the two fixes below in order as needed:
Fix #1
Launch iPhoto with the Command+Option keys held down and rebuild the library.
Since only one option can be run at a time start with Option #3, followed by #4 and then #1 as needed.
Fix #2
Using iPhoto Library Manager to Rebuild Your iPhoto Library
1 - download iPhoto Library Manager and launch.
2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
4 - In the next window name the new library and select the location you want it to be placed.
5 - Click on the Create button.
Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
OT -
Hello , I think the below event alert 4113 is very common and is due to that only one database copy is present in DAG but is there any way we can stop this alert for the
specific database.
The message tells that there is only one copy of the database - create another copy and the warning message will go away but
we do not want to create another copy. So is there any way we can stop this event getting generated.
Database redundancy health check failed.
Database copy: DB-1
Redundancy count: 1
Error: The number of configured copies for database 'DB-1' (1) is less than the required redundancy count (2).
Name Status RealCopyQueu InspectorQue ReplayQueue CIState
e
ue
DB-1\ Mounted 0 0 0
Healthy
MAILSRV2
===============
Full Status
===============
Identity : DB-1\MAILSRV2
Name : DB-1\MAILSRV2
DatabaseName : DB-1
Status : Mounted
MailboxServer : MAILSRV2
ActiveDatabaseCopy : MAILSRV2
ActivationSuspended : False
ActionInitiator : Unknown
ErrorMessage :
ErrorEventId :
ExtendedErrorInfo :
SuspendComment :
SinglePageRestore : 0
ContentIndexState : Healthy
ContentIndexErrorMessage :
CopyQueueLength : 0
ReplayQueueLength : 0
LatestAvailableLogTime :
LastCopyNotificationedLogTime :
LastCopiedLogTime :
LastInspectedLogTime :
LastReplayedLogTime :
LastLogGenerated : 0
LastLogCopyNotified : 0
LastLogCopied : 0
LastLogInspected : 0
LastLogReplayed : 0
LogsReplayedSinceInstanceStart : 0
LogsCopiedSinceInstanceStart : 0
LatestFullBackupTime :
LatestIncrementalBackupTime :
LatestDifferentialBackupTime :
LatestCopyBackupTime :
SnapshotBackup :
SnapshotLatestFullBackup :
SnapshotLatestIncrementalBackup :
SnapshotLatestDifferentialBackup :
SnapshotLatestCopyBackup :
LogReplayQueueIncreasing : False
LogCopyQueueIncreasing : False
OutstandingDumpsterRequests : {}
OutgoingConnections :
IncomingLogCopyingNetwork :
SeedingNetwork :
ActiveCopy : True
ThanksThat regex looks odd to me. I assume you have databases with names like "Mailbox Database <ten digit number>" (standard Exchange default name, in other words), "ABC-DB" and "HOME-DB". If this is the case, wouldn't
you want "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"? THis works if I run it from a prompt:
[PS] C:\Scripts>"Mailbox Database 0123456789" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
True
[PS] C:\Scripts>"Mailbox Database 123456789" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
[PS] C:\Scripts>"Mailbox Database 12345678910" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
[PS] C:\Scripts>"HOME-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
True
[PS] C:\Scripts>"ABC-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
True
[PS] C:\Scripts>"ABCD-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
[PS] C:\Scripts>"HOM-DB" -match "(?:Mailbox Database \d{10}$|^ABC-DB$|^HOME-DB$)"
False
I find it's easiest to test RegEx's from the prompt this way. If the above isn't your goal, let us know, and we'll see if we can come up with something better. -
before it was stuck on the apple logo so i restarted it like 5 times in less than a minute and now it just WONT do anything.
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
My hotmail won't stop downloading and it's taking up lots of storage. How can I stop this?
Hello,
I tried the workaround. Changed the setting in Organizer - Bearbeiten - Voreinstellungen - Kamera oder Kartenleser (this is on my German menu. It translates to somewhat like Organizer - Edit - Options - Camera). I got, no matter how I changed these settings to, always the same wrong result yyyy dd mm.
Now I changed in the Control panel, Region and language, Format, Date (short) from my German standard tt.mm.yy to yyyy-mm-dd).
Now the Organizer really creates the correct folder yyyy mm dd !
I do not know yet what disadvantage I have by this change in other applications, there probably will be some (or, more likely, many). If I get serious errors elsewhere, it is not worth to change the control panel setting in a stop-go motion just for PSE to behave correctly. Then it could be better to change the folder names by hand.
But anyway thanks for this hint. I just was not clear where to change the date format.
If anyone finds a better workaround, we all would be eager to hear about it.
PS: With the great tool AutoHotkey, it might be easy to create a script which switches the control panel format stop-go between the 2 formats. In practical use, that would be just a quick shortcut to be keyed in. I'll have to think about that, since I do not expect a fast solution from Adobe.
Greetings,
mcmusic77 -
help
A reset may help. Push and hold the Home button and the Sleep/On/Off button at the same time for approximately 15 seconds (until the Apple logo appears). Ignore the slide to turn off indicator. Allow to restart as normal.
-
Help
Hi Bill, again just trawling these forums in search of another prolem solution and ran over your post. I'm not sure if every problem reported in these forums requires removing the app's preferences or running a third party product that does it as well.. Sometimes it will work. Usually there's a process somewhere in Compressor or its subcomponents used in the OS that need to kicked in the arse or terminated and restarted or is handed a flawed structure it can't handle entirely and fails.
These failures are sometime echoed in /var/logs/folder/... or ~/Library/Logs/"this_application's.log" or ~/Library/LogsDiagnosticReports/"this_application's" dump. Yep u can view these with the /Applications/Utilities/Console.app or jump in to Qmaster through the Share Monitor.app as well.
Anyway not all these events get logged so sometimes it's difficult to know where to look especially with compressor and qmaster. Qmaster has its logs also in a temproary place then then are magically moved to /var/logs.
A good practice is to see if you can determine one of these flaws before getting the chainsaw and axe out for a "hack and bash session". Chances are you will have this again.
Elsewhere in these Apple Support forums and on the creativecow forums is a wealth of knowledge on compressor or Qmaster and other products. Always worth a simple Google search
Now, I'd propose that is likely that the current structure used by compressor and qmaster are in a less than optimum state!. Most of these are rebuilt if they are removed. All except the SETTINGS and LAYOUTS. So if you have any of your own settings, layouts or destinations and you dont want to lose them, go and make a second instance of these else where of fetch and reinstate them from Timemachine.app once you have restarted everthing after some suggestion I'm going to propose to you shortly.
The probable sources of state information may be deleted and Compressor and Qmaster can be started again. However before embarking on this easy walkthrough ......
Step 1: Stop Apple Qmaster your current host. (Compressor.app/Application Menu Apple Qmaster/Share This Computer / Setup tab/ and untick "Share This Computer").
count to 10 slowly and all the compressord tasks will stop. Qmasterd is still active...thats cool.
Step 2: QUIT Compressor.app on your current host.
Step 3: Make a second instance of your Compressor.app Settings , Destinations and Layouts: As stated a tonne of time in so many threads , that in Compressor 4, these structures for Qmaster and some of Compressors have been moved into the users home domain (i.e. ~/) in the ~/Library/Application Support/Compressor/Settings and ~/Library/Application Support/Compressor/Layouts directories. If you dont have any then move to the next step....
THerefore simply DUPLICATE or COPY them to another place such as your ~/Desktop. U can use the FINDER or simple unix cli commands such as:
cp -Rv ~/Library/Application\ Support/Compressor/Settings ~/Desktop
cp -Rv ~/Library/Application\ Support/Compressor/Layouts ~/Desktop
Step 4: remove | purge | delete compressors Lion/ML saved state.... ~/Library/Saved Application State/com.apple.Compressor.savedState
You can also remove the the saved state entry for Compressor.app so tha you wont be bothered with it trying to resstablish where it was when it failed or you last quit it.
rm ~/Library/Saved\ Application\ State/com.apple.Compressor.savedState or just selct and +del it in the trash (hold the OPTION key and select the Finder GO menu to access your homes ~/Library/)
After doing this you can basically destroy | delete | purge | remove your ~/Library/Application Support/Compressor and also your ~/Library/Application Support/Apple Qmaster directories
OK if you're up to it I will refer you to a post where this procedure is comprehensivley detailed. I'm fairly certain that when you follow this procedure and remove these compressor and Qmaster structure and restart then re-set up any clusters and networking, tha compressor will work amazingly well again.... probably like it used to.
Step 5: click over to ths apple forum post and follow the steps in there. No need to duplicate its contents here. The link is at https://discussions.apple.com/message/17356372#17356372%2317356372
Step n: well if you have returned to here hopefully compressor V4..app with Qmaster is running and its like brand new. 9 of 10 times this is the case.
Basically you have purged your current folders:
~/Library/Application Support/Compressor and
~/Library/Application Support/Apple Qmaster
Now a few more things to consider as mentioned in the post at https://discussions.apple.com/message/17356372#17356372%2317356372 is not to be too impatient. THese compressor and qmaster components take a little time to communicate and ready themselves. You will be able to see this via teh activity monitor.app and also right-gear-down on the compressor.app icon n the dock. Look for SERVICES. If you only have one, add some more in the qmaster prefs.
ALso make sure you c=can use Compressor.app / File /Mount Cluster Storage and tha you get a voluem for your cluster apearing in the list box.
No volume then qmaster is not set up.
You may have to do all the above again.
Lastly, the NETWORK settings used between hosts for Qmaster are often a point of noise and frustration. If u can disable your network just to get compressor/qmaster going on a single host. Often the comms causes a great deal of "waiting"scenarios in Compressor. U can see these in the Share Monitor.app.
Please report back you progress so tha others my benefit..
HTH
warwick -
Dear All,
I have a requirement, to write a SQL query to populate the records which are inserted less than 10 no of records.
The tables has the cretaed_date column and along with other key column which will have unique values.
Ex1: The user might have inserted records from application, per week basis, between the date range '01-jun-2013' - 08-jun-2013 , the no of records created by the user during this week may be less than 10 records or more.
But I want to populate the records by giving date range that too, it should pick the records the count which fall with in 10 records.
I dont want the query to populate the records if the user has inserted more than 10 records in a week.
Ex2:
User 1 has created 15 records during the week 1 ( the query should not populate this ).
User 2: has cretaed less than 10 records from the UI during the week 2. ( This details should get populated ).
ThanksUse COUNT to find how many rows where inserted in a week.
If this does not answer your question then please read Re: 2. How do I ask a question on the forums? And provide necessary details. -
Message no. RM109 The quantity at RP is less than the quantity at next RP
Hello everyone,
I am getting an error in regards to a reporting point. I tried going into MF4R to reset the reporting points and when I do I get the following message:
The quantity at RP 0220 is less than the quantity at the next RP
Message no. RM109
Diagnosis
The reporting point structure is inconsistent as at reporting point 0220, the backflush quantity is less than at the subsequent reporting point. In a consistent backflush, the quantity at a subsequent reporting point (work in process) always less than or equal to the quantity at the previous reporting point.
Procedure
Check the reporting point stocks using transaction MF26. Post any missing quantities at previous reporting points.
I have went into MF26 and "Yes" reporting point 0220 is less than the following reporting point. My question is... how do I fix this? Any help will be greatly appreciated.Good morning Raj,
Here is what MF26 is showing:
614830 0033 0001 W3300
0010 84 PC
0020 38 PC
0030 38 PC
0040 38 PC
0050 38 PC
0060 84 PC
0070 84 PC
0080 84 PC
0090 84 PC
0100 38 PC
0110 84 PC
0130 38 PC
0140 38 PC
0150 38 PC
0155 84 PC
0160 38 PC
0165 84 PC
0170 84 PC
0180 38 PC
0185 84 PC
0190 84 PC
0200 38 PC
0210 38 PC
0220 38 PC
0225 84 PC
0230 84 PC
0240 84 PC
0245 84 PC
0246 84 PC
0250 84 PC
0260 84 PC
0270 84 PC
0280 84 PC
0290 84 PC
As you can see RP 0220 shows only 38 pcs RP 0225 and up shows 84 pcs. Using MFBF I backflushed 46 pcs to RP 0220 to make it equal to the 84 pcs. But, when I went back into MF26 RP 0220 still shows 38 pcs.
Thank you for your help!
Rhonda -
purchased a download copy of Acrobat Pro XI for Mac from an online reseller for $199.00. Now I am suspicious that the reseller is less than trustworthy. Could I purchase a copy from Adobe without losing the $199 that I already spent?
I doubt it. The clue should be the price. Any time you see a copy available for less than from Adobe, I would be suspicious. You can inquire with the Adobe sales folks, but don't expect any credit. At this point, I would suggest just buying AA DC, rather than AA XI.
-
Why can't I reduce the height of my container box in the Lightbox Display composition widget?
I'm using the Lightbox Display composition widget, I would like to place my trigger at the bottom of my lightbox, I've reduced the height of my image frame but the container box cannot be reduced accordingly. I need to reduce the height of the container box or my triggers will be hidden behind the box. Please advice, thank you.
Hi,
When you insert the light box display, by default it has 3 slides with different components like trigger, container, target, image frame, text box, next button, preview button. You have to change the dimensions for all components for these default 3 images one by one.
Or you can delete 2 of the triggers (that will resul in deleting all of their components from the widget), then you are left with only one image and its components. Later, you can add more images to lightbox display.
Resize the components as per following video:
http://gauravr183.businesscatalyst.com/images/2013-09-26_1440.swf
The steps are, after you have added the widget on the page:
Delete the triggers.
Then select Image frame, resize it. Move close button near it (the 'X' button), resize the text box,resize next and previous buttons and move all of these near the image frame.
Then click on the image frame, till you get "Target" area selected, resize target area and container will be resized automatically.
Regards,
Gaurav Aggarwal -
I want to make the item text of the combobox to be aligned vertically(Centred) . Actually I increased the height
of the combobox and after the increasing the combobox height, the text is not centred vertically.The code
snippet for increasing the height is as follows,
m_SpecifyCombo.SetItemHeight(-1,20);//CCombobox m_SpecifyCombo
After increasing the height the text in the combobox is not in the centre as shown in the below image,
But I want the text to be centred as shown in the below image.
Code snippet for owner drawn combobox:
#if !defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
#define AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
typedef enum {FONTS} STYLE; //Why have I enumerated, Cos, Maybe I might want something other than Fonts here
class COwnerDrawCombo : public CComboBox
// Construction
public:
COwnerDrawCombo();
COwnerDrawCombo (STYLE);
// Attributes
public:
void SetHilightColors (COLORREF hilight,COLORREF hilightText)
m_clrHilight = hilight;
m_clrHilightText = hilightText;
void SetNormalColors (COLORREF clrBkgnd,COLORREF clrText)
m_clrNormalText = clrText;
m_clrBkgnd = clrBkgnd;
static BOOL CALLBACK EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData);
void FillFonts ();
int GetSelFont (LOGFONT&);
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCustComboBox)
public:
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~COwnerDrawCombo();
// Generated message map functions
protected:
STYLE m_enStyle;
COLORREF m_clrHilight;
COLORREF m_clrNormalText;
COLORREF m_clrHilightText;
COLORREF m_clrBkgnd;
BOOL m_bInitOver;
void DrawDefault (LPDRAWITEMSTRUCT);
void DrawFont(LPDRAWITEMSTRUCT);
void InitFonts ();
//{{AFX_MSG(CCustComboBox)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnDestroy();
//}}AFX_MSG
afx_msg long OnInitFonts (WPARAM, LPARAM);
DECLARE_MESSAGE_MAP()
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif //!defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
// OwnerDrawCombo.cpp : implementation file
#include "stdafx.h"
#include "combobox.h"
#include "OwnerDrawCombo.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define WM_INITFONTS (WM_USER + 123)
//I chose 123 cos nobody might use the same exact number.. I can improve this by use RegisterWindowMessage..
// COwnerDrawCombo
//Initial values of the text and highlight stuff
COwnerDrawCombo::COwnerDrawCombo()
m_enStyle = FONTS;
m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
m_clrBkgnd = GetSysColor (COLOR_WINDOW);
m_bInitOver = FALSE;
COwnerDrawCombo::COwnerDrawCombo (STYLE enStyle)
m_enStyle = enStyle;
m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
m_clrBkgnd = GetSysColor (COLOR_WINDOW);
m_bInitOver =FALSE;
COwnerDrawCombo::~COwnerDrawCombo()
BEGIN_MESSAGE_MAP(COwnerDrawCombo, CComboBox)
//{{AFX_MSG_MAP(COwnerDrawCombo)
ON_WM_CREATE()
ON_WM_DESTROY()
//}}AFX_MSG_MAP
ON_MESSAGE (WM_INITFONTS,OnInitFonts)
END_MESSAGE_MAP()
// COwnerDrawCombo message handlers
void COwnerDrawCombo::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
//I might want to add something else someday
switch (m_enStyle)
case FONTS:
DrawFont(lpDrawItemStruct);
break;
//I dont need the MeasureItem to do anything. Whatever the system says, it stays
void COwnerDrawCombo::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)
void COwnerDrawCombo::DrawFont(LPDRAWITEMSTRUCT lpDIS)
CDC* pDC = CDC::FromHandle(lpDIS->hDC);
CRect rect;
TRACE0 ("In Draw Font\n");
// draw the colored rectangle portion
rect.CopyRect(&lpDIS->rcItem);
pDC->SetBkMode( TRANSPARENT );
if (lpDIS->itemState & ODS_SELECTED)
pDC->FillSolidRect (rect,m_clrHilight);
pDC->SetTextColor (m_clrHilightText);
else
pDC->FillSolidRect (rect,m_clrBkgnd);
pDC->SetTextColor (m_clrNormalText);
if ((int)(lpDIS->itemID) < 0) // Well its negetive so no need to draw text
else
CString strText;
GetLBText (lpDIS->itemID,strText);
CFont newFont;
CFont *pOldFont;
((LOGFONT*)lpDIS->itemData)->lfHeight = 90; //9 point size
((LOGFONT*)lpDIS->itemData)->lfWidth = 0;
newFont.CreatePointFontIndirect ((LOGFONT*)lpDIS->itemData);
pOldFont = pDC->SelectObject (&newFont);
pDC->DrawText(strText, rect, DT_LEFT | DT_VCENTER | DT_SINGLELINE);
pDC->SelectObject (pOldFont);
newFont.DeleteObject ();
void COwnerDrawCombo::InitFonts ()
CDC *pDC = GetDC ();
ResetContent (); //Delete whatever is there
EnumFonts (pDC->GetSafeHdc(),NULL,(FONTENUMPROC) EnumFontProc,(LPARAM)this);//Enumerate
m_bInitOver = TRUE;
BOOL CALLBACK COwnerDrawCombo::EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData)
if (dwType == TRUETYPE_FONTTYPE) //Add only TTF fellows, If you want you can change it to check for others
int index = ((COwnerDrawCombo *) lpData)->AddString(lplf->lfFaceName);
LPLOGFONT lpLF;
lpLF = new LOGFONT;
CopyMemory ((PVOID) lpLF,(CONST VOID *) lplf,sizeof (LOGFONT));
((COwnerDrawCombo *) lpData)->SetItemData (index,(DWORD) lpLF);
return TRUE;
int COwnerDrawCombo::OnCreate(LPCREATESTRUCT lpCreateStruct)
if (CComboBox::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: Add your specialized creation code here
if (m_enStyle == FONTS)
//SetItemHeight(-1,30);
PostMessage (WM_INITFONTS,0,0);
return 0;
long COwnerDrawCombo::OnInitFonts (WPARAM, LPARAM)
InitFonts ();
return 0L;
void COwnerDrawCombo::OnDestroy()
if (m_enStyle == FONTS)
int nCount;
nCount = GetCount ();
for (int i = 0; i < nCount; i++)
delete ((LOGFONT*)GetItemData (i)); //delete the LOGFONTS actually created..
// TODO: Add your message handler code here
CComboBox::OnDestroy();
void COwnerDrawCombo::FillFonts ()
m_enStyle = FONTS;
PostMessage (WM_INITFONTS,0,0); //Process in one place
int COwnerDrawCombo::GetSelFont (LOGFONT& lf)
int index = GetCurSel ();
if (index == LB_ERR)
return LB_ERR;
LPLOGFONT lpLF = (LPLOGFONT) GetItemData (index);
CopyMemory ((PVOID)&lf, (CONST VOID *) lpLF, sizeof (LOGFONT));
return index; //return the index here.. Maybe the user needs it:-)
void COwnerDrawCombo::PreSubclassWindow()
// TODO: Add your specialized code here and/or call the base class
//Tried to do what Roger Onslow did for the button.. Did not work..?? Any R&D guys around :-)
Can anyone please let me know how can I achieve this.
Any help can be appreciated.
Thanks in advance
SivaVHi sivavuyyuru,
I cannot find a easy way to make this.
I think you may need to draw your own Combo Box control. And you could change the edit control more like static text. Check the article:
http://www.codeguru.com/cpp/controls/combobox/fontselectioncombos/article.php/c1795/Owner-Drawn-Font-Selection-Combobox.htm
In the resource editor, Owner draw -> variable , Has string->true, type->drop list.
The result:
Best regards,
Shu Hu
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Increaseing the height and width of textfield and password fields
Dear friends in apex 4.1 when we create a application it automatically creates a login page
with username and password field in it
So my question is can i increase the height and width of the username and password field in that login page
If it is possible please help.
and also i cannot find the html tag like <input type=text............>
Where to find it?Hi,
You can easily achieve this using css
<style>
input.myclass
height:100px;
width:100px;
</style>
<input type="test" class="myclass" size="10">So in APEX you have to edit the textfield > HTML Form Eelement Attributes > put class="myclass"
Thanks -
Cannot set section height to less than 220 twips - RAS
I'm using in proc ras with the Crystal 2011 .NET SDK (version 12). I cannot set a detail section height smaller than 220 twip. It looks fine in the debugger after I set it but when I open the saved report the height is always 220 twips. I made sure there are no object larger than 125 twips and they are all positioned at the top of the section band.
CrystalDecisions.CrystalReports.Engine.ReportDocument rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
ISCDReportClientDocument rcd = rd.ReportClientDocument;
rd.Load(reportFilePath);
ReportDefController2 reportDef = rcd.ReportDefController;
CrystalDecisions.ReportAppServer.ReportDefModel.Section detailSection0 = reportDef.ReportDefinition.DetailArea.Sections[0];
detailSection0.Height = 125;
rd.SaveAs("C:\\TEST.RPT")
Edited by: John Lobaugh on Dec 10, 2011 2:39 AM
Edited by: John Lobaugh on Dec 10, 2011 2:40 AMHi John,
Need more info...
CR 2011 does not have any SDK's included with it and CR 2008 is version 12.
The SDK for CR 2011 is in CR for Visual Studio 2010 and is version 13.
All of the runtime and installer for CR for VS VS 2010 is on this page:
http://www.sdn.sap.com/irj/boc/crystalreports-dotnet
Don -
Can you change the height of a numeric indicator in LabVIEW 2010?
It seems like you could have done this is LV 7.1 as referenced by this article:
http://digital.ni.com/public.nsf/allkb/AFCA584E0A70774586256E970052AFC3
However, I also found that in 8.5 you apparently cannot resize the height of the indicator/control... as they may have gotten rid of the numeric text property node.
Any ideas if this is possible? Thanks.
Erik
Solved!
Go to Solution.Here's the reference to the 8.5 manual...
http://zone.ni.com/reference/en-XX/help/371361D-01/lvpage/18properties/
Maybe you are looking for
-
Photoshop Elements 4 Animation Problem
Hey everyone. Sorry for posting this in the iMac forum, but there really was no other forum for my problem. I am using Photoshop Elements 4, and whenever I try to save an animated gif, I cannot edit the frame delay or loop options, they will not resp
-
Trace Users with attachments in shopping carts
Hi experts, I want to pick up all the users who have cretaed shopping carts with attachments. How will i do this? Kindly help asap..
-
Battlefield 2 huge sound Issue!Creative statement plea
Hi guys.. I had once this problem with the DVD playback if some can remember...i couldnt find any solutions so i formatted my system...then reinstalled everything and look there...wow extrem powerful sound,clean and crisp!!! Awesome **bleep**! GTA Sa
-
Computer vs User Accounts on Windows PC
Trying to set up iTunes Match but concerned by warning about the computer being associated with e Apple ID. It is a family PC and other users have their own iTunes accounts as Users on the PC. By accepting does this mean they can not use their Apple
-
Hi, I have a problem with OWB when I try to start a mapping (sql loader) after deploy. The problem is that when I start the execution of the mapping, the control file of the sql loader is created not in Unix (where I have defined the location of both