Results 1 to 2 of 2

Thread: ขอความช่วยเหลือ เรื่องวิธีใช้งาน Multiline Dialog ครับ

  1. #1
    Anonymous
    Guest


    ขอความช่วยเหลือ เรื่องวิธีใช้งาน Multiline Dialog ครับ

    คือผมต้องการให้โปรแกรมเรียก Multiline Dialog โดยมีรายละเอียดดังนี้
    1. ให้ input ชื่อ (เป็น text)
    2. ให้ input จำนวนเงิน (เป็น float หรือ int ก็ได้ จริงๆอยากให้เ็ป็น float มากกว่า แต่แก้ยังไงก็ error T_T)
    3. ให้ input วันที่ (เช่น 31/1/47)

    โดยมีเรื่องขอคำแนะนำดังนี้ครับ

    ตอนแรกผมทำให้ input มีแค่ 2 line คือ text กับ int ก่อนดังนี้ครับ

    [code]TBuf<KTextBufferLength> name;

    TInt amount;



    CAknMultiLineDataQueryDialog* dlg =CAknMultiLineDataQueryDialog::NewL(name, amount);



    if (dlg->ExecuteLD(R_DIALOG_MULTILINE_TEXT_NUMBER))

    {

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Bangkok
    Posts
    187


    Re: ขอความช่วยเหลือ เรื่องวิธีใช้งาน Multiline Dialog ครับ

    ลอง compile บน dos ก่อนนะ abld build wins udeb
    ถ้า compile บน VC มันจะไม่ สร้าง resource ถ้าแก้ resource ต้อง compile บน dos ให้มันสร้าง resource ใหม่

    แล้วก็ error ตรงบรรทัดไหน ลอง debug ดู แล้ว step ไปเรื่อยๆ ต้องมีรายละเอียดมากกว่านี้

Similar Threads

  1. ดีด Dialog box login เข้าฐานข้อมูลเวบ Kapook
    By _tuky_ in forum บทความ คอมพิวเตอร์ ทัวไป
    Replies: 0
    Last Post: 16-11-2009, 12:56 PM
  2. Replies: 3
    Last Post: 18-10-2008, 01:15 PM
  3. Replies: 6
    Last Post: 06-12-2007, 05:51 PM
  4. Replies: 1
    Last Post: 25-04-2006, 10:41 AM
  5. Replies: 0
    Last Post: 24-12-2003, 11:04 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •