Search found 16 matches
- Mon Mar 30, 2015 7:49 am
- Forum: wxCode
- Topic: wxFreeChart build Error
- Replies: 4
- Views: 3030
Re: wxFreeChart build Error
Hi, Thanks, reply. I re-install wxWidgets with 2.8.12 and build it. I got ld.exe -lwxmsw28u_gl error when built wxFreeChart. check C:\wxWidgets-2.8.12\lib\gcc_lib folder, there is not wxmsw28u_gl. I think I do something error on wxWidgets. I built wxWidgets by "mingw32-make -f makefile.gcc MONO...
- Sat Mar 28, 2015 7:37 am
- Forum: wxWidgets Development (Chinese)
- Topic: 如何使用 wxChartCtrl
- Replies: 0
- Views: 2873
如何使用 wxChartCtrl
Hi,各位前輩 要做品質管制圖, 原計劃使用 wxFreeChart但, 直沒法build 改用 wxChartCtrl, 在使用wxSmith做畫面設計時, 可在Contrib上叫到wxChartCtrl, 也可設定參數 但畫面做好後, 要編譯, 卻出現錯誤 undefined reference to `wxChartCtrl::wxChartCtrl(wxWindow*, int, wxChartStyle, wxPoint const&, wxSize const&, int)' 不知如何處理 懇請各前輩先進指點 謝
- Sat Mar 28, 2015 4:01 am
- Forum: wxCode
- Topic: wxFreeChart build Error
- Replies: 4
- Views: 3030
Re: wxFreeChart build Error
Hi, Thanks, Jaxin's instruct. Try all possibility. Like WX_UNICODE=1 WX_DEBUG=1 WX_SHARED=1 WX_MONOLITHIC=1, WX_UNICODE=0 WX_DEBUG=1 WX_SHARED=1 WX_MONOLITHIC=1...16 times. As before, I get Error. The major error is : makefile.gcc:521:recipe for target 'gccmswnd\wxfreechart_dll_legend.o' failed ming...
- Wed Mar 25, 2015 1:41 am
- Forum: wxWidgets Development (Chinese)
- Topic: wxFreeChart Build 錯誤
- Replies: 0
- Views: 2389
wxFreeChart Build 錯誤
Hi,各位前輩 我在 ms + codeblocks + wxWidgets-2.9.4 想使用wxFreeChart, 在 http://sourceforge.net/projects/wxcode/files/Components/wxFreeChart/下載wxFreeChart, 並依其ReadMe.txt中指示, 使用 make -fmakefile._cc WX_DIR=c:\wxWidgets-2.9.4 WX_UNICODE=1 WX_DEBUG=1 WX_SHARED=1 WX_MONOLITHIC=1, 來build wxFreeChar, 但出現很多的錯誤訊息, 將這錯...
- Tue Mar 24, 2015 7:35 am
- Forum: wxCode
- Topic: wxFreeChart build Error
- Replies: 4
- Views: 3030
wxFreeChart build Error
Hi, I work on ms + codeblocks + wxWidgets-2.9.4. I want to get wxFreeChart. I download from http://wxcode.sourceforge.net/components/freechart/. As his ReadMe.txt, I built it by 'mingw32-make -fmakefile.gcc WX_DIR=wxWidgets-2.9.4 WX_UNICODE=1 WX_DEBUG=1 WX_SHARED=1 WX_MONOLITHIC=1'. Get many error m...
- Thu Jan 31, 2013 1:22 am
- Forum: wxWidgets Development (Chinese)
- Topic: 使用wxAutomationObject如何移動excel的工作表位置
- Replies: 5
- Views: 9487
Re: 使用wxAutomationObject如何移動excel的工作表位置
Hi,Kipade
感謝您, 了解了
另再請教, PasteSpecial的用法 - 即選擇性貼上
如有CellRange1, 有一些cell是公式, 想把他的值, 貼到CellRange2, 該如何使用PasteSpecial
謝
感謝您, 了解了
另再請教, PasteSpecial的用法 - 即選擇性貼上
如有CellRange1, 有一些cell是公式, 想把他的值, 貼到CellRange2, 該如何使用PasteSpecial
謝
- Wed Jan 30, 2013 1:45 pm
- Forum: General Development
- Topic: How to Moving Excel Sheet by wxAutomationObject
- Replies: 5
- Views: 3600
Re: How to Moving Excel Sheet by wxAutomationObject
Hi Thanks anybody. I get the answer by other forum. As following wxAutomationObject exl, workBooks, workbook, workSheets, sheet,sheet2; bool ret = exl.CreateInstance(wxT("Excel.Application")); ret = exl.GetObject(workBooks, wxT("Workbooks")); exl.PutProperty("visible", ...
- Wed Jan 30, 2013 1:37 pm
- Forum: wxWidgets Development (Chinese)
- Topic: 使用wxAutomationObject如何移動excel的工作表位置
- Replies: 5
- Views: 9487
Re: 使用wxAutomationObject如何移動excel的工作表位置
Hi,
感謝 Kipade的指點, 可以了, 真是感謝
提到 会带来一个多次Release的问题,這是什麼,
我直接用你給的指令, 沒出現什麼問題
謝
感謝 Kipade的指點, 可以了, 真是感謝
提到 会带来一个多次Release的问题,這是什麼,
我直接用你給的指令, 沒出現什麼問題
謝
- Mon Jan 28, 2013 2:24 pm
- Forum: General Development
- Topic: How to Moving Excel Sheet by wxAutomationObject
- Replies: 5
- Views: 3600
Re: How to Moving Excel Sheet by wxAutomationObject
Hi, Thanks, PB. Original, I think "Move" is a method. I try sheet.CallMethod("move", wxVariant("after:=Sheets(1)"));, but have no any response. try sheet.CallMethod("move", wxVariant("after"), wxVariant("Sheets(1)")); --> no response sheet....
- Mon Jan 28, 2013 9:48 am
- Forum: General Development
- Topic: How to Moving Excel Sheet by wxAutomationObject
- Replies: 5
- Views: 3600
How to Moving Excel Sheet by wxAutomationObject
Hi, I suceed to read/write excel by wxAutomationObject. But can not Sheets position. Like to change Sheet1,Sheet2,Sheet3 to Sheet3,Sheet2,Sheet1 My code as following //Open Excel and file wxAutomationObject exl, workBooks, workbook, workSheets, sheet; bool ret = exl.CreateInstance(wxT("Excel.Ap...
- Mon Jan 28, 2013 9:02 am
- Forum: wxWidgets Development (Chinese)
- Topic: 使用wxAutomationObject如何移動excel的工作表位置
- Replies: 5
- Views: 9487
使用wxAutomationObject如何移動excel的工作表位置
Hi,各位前輩 我使用wxAutomationObject來寫入讀取excel, 沒問題, 但如要移動Sheet的位置, 如原先為Shett1,Sheet2,Sheet3, 移動為Sheet3,Sheet1,Sheet2 我試的方式如下 //啓動Excel及開新檔 wxAutomationObject exl, workBooks, workbook, workSheets, sheet; bool ret = exl.CreateInstance(wxT("Excel.Application")); // ex1為Excel, excel ret = exl.GetObj...
- Mon Oct 03, 2011 8:30 am
- Forum: wxWidgets Development (Chinese)
- Topic: 如何設定wxGrid column readonly
- Replies: 3
- Views: 4129
Re: 如何設定wxGrid column readonly
Hi,
感謝sishui的指導, 明白了
那好像不是很好用囉, 如有數10個col就要設數10 個屬性
後想到, 因我最主要是有些col可修改,有些不可修改, 一次把所有屬生全設好是最單純,
但每個cell設readonly, 一次設時間太常, 後改成user select的row再設那些是readonly, 因數量少, user沒感覺, 就用這帶過了
感謝sishui的指導, 明白了
那好像不是很好用囉, 如有數10個col就要設數10 個屬性
後想到, 因我最主要是有些col可修改,有些不可修改, 一次把所有屬生全設好是最單純,
但每個cell設readonly, 一次設時間太常, 後改成user select的row再設那些是readonly, 因數量少, user沒感覺, 就用這帶過了
- Fri Sep 23, 2011 1:27 am
- Forum: wxWidgets Development (Chinese)
- Topic: 如何設定wxGrid column readonly
- Replies: 3
- Views: 4129
如何設定wxGrid column readonly
Hi 如題 有用grid->SetReadOnly(0,i);的方式作過, 但這要一個cell 一個cell設定, 在執行時速度很慢 找到網頁, 可用 wxGridCellAttr* pattr=new wxGridCellAttr(); pattr->SetReadOnly(true); grid->SetColAttr(1, pattr1); 這樣column 1可變成readonly, 一切正常而執行速度快很多 但如要有二個column是readonly, 多加一行 grid->SetColAttr(2, pattr1); 可以使用,但離開時就出現 assert"m_count...
- Wed Aug 24, 2011 12:18 pm
- Forum: wxWidgets Development (Chinese)
- Topic: codeblock + wxWidgets + postgreSql中文問題
- Replies: 0
- Views: 3331
codeblock + wxWidgets + postgreSql中文問題
Hi, 系統環境 作業系統 win XP codeblock 10.05 wxWidgets 2.9.1 有用mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release postgreSql 8.4 ENCODING = 'UTF8' 用wxPostgreSQL連到資料庫 問題點 1. 在 wxPostgreSQL connect 時下 PQsetClientEncoding(conn, "UNICODE"); wxString str = wxT("insert into ...
- Wed Aug 24, 2011 9:41 am
- Forum: wxWidgets Development (Chinese)
- Topic: wxString to char中文問題
- Replies: 2
- Views: 3691
Re: wxString to char中文問題
Hi,
非常感謝 fancyivan 的指點
可以了
謝
非常感謝 fancyivan 的指點
可以了
謝